diff --git a/manabi/lock.py b/manabi/lock.py index b48066b..67de876 100644 --- a/manabi/lock.py +++ b/manabi/lock.py @@ -300,9 +300,7 @@ def execute(self, *args, **kwargs): try: self._cursor.execute(*args, **kwargs) except (InterfaceError, OperationalError): - _logger.error( - f"Postgres connection lost, reconnecting. {''.join(traceback.format_stack())}" - ) + _logger.warn("Postgres connection lost, reconnecting") self.connect() self._cursor.execute(*args, **kwargs)