Skip to content

Commit 3d79451

Browse files
authored
More verbosely log unknown errors in PikaTransport (#186)
We saw instances of this hit, but could not work out where they had come from.
1 parent 63b09ff commit 3d79451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workflows/transport/pika_transport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ def _run(self):
14841484
break
14851485
logger.warning(f"Connection {connection_counter} failed: {e!r}")
14861486
except BaseException as e:
1487-
logger.error(f"Connection failed for unknown reason: {e!r}")
1487+
logger.exception(f"Connection failed for unknown reason: {e!r}")
14881488
self._exc_info = sys.exc_info()
14891489
break
14901490
# Make sure our connection is closed before reconnecting

0 commit comments

Comments
 (0)