Skip to content

Commit

Permalink
More verbosely log unknown errors in PikaTransport (#186)
Browse files Browse the repository at this point in the history
We saw instances of this hit, but could not work out where they
had come from.
  • Loading branch information
ndevenish authored Nov 11, 2024
1 parent 63b09ff commit 3d79451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workflows/transport/pika_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ def _run(self):
break
logger.warning(f"Connection {connection_counter} failed: {e!r}")
except BaseException as e:
logger.error(f"Connection failed for unknown reason: {e!r}")
logger.exception(f"Connection failed for unknown reason: {e!r}")
self._exc_info = sys.exc_info()
break
# Make sure our connection is closed before reconnecting
Expand Down

0 comments on commit 3d79451

Please sign in to comment.