Commit b485db83 authored by Robin Obůrka's avatar Robin Obůrka Committed by Robin Obůrka

msgloop: Report type of uncaught exception

parent 8d4ffac3
...@@ -137,7 +137,7 @@ def _sn_main_loop(context, process): ...@@ -137,7 +137,7 @@ def _sn_main_loop(context, process):
raise e raise e
except Exception as e: except Exception as e:
logger.error("Uncaught exception from loop") logger.error("Uncaught exception from loop: %s", type(e).__name__)
logger.exception(e) logger.exception(e)
context.errors_in_row += 1 context.errors_in_row += 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment