properly call logging.exception

This commit is contained in:
holger krekel
2023-11-20 22:52:31 +01:00
parent e7c9992fdc
commit 4478270fc9

View File

@@ -140,7 +140,7 @@ def main():
else:
logging.warn("request had no answer: %r", msg)
except Exception:
logging.exception()
logging.exception("Exception in the handler")
raise
try: