Commit 8150aa17 authored by Robin Obůrka's avatar Robin Obůrka
Browse files

msgloop: Re-raise SetupError from loop - for late-detectable errors

I need to re-raise it otherwise it will be eaten by except Exception.
parent 3e6e2d44
......@@ -129,6 +129,9 @@ def _sn_main_loop(context, process):
context.logger.warning("Box %s raised StopIteration - unexpected behavior",
except SetupError as e:
raise e
except Exception as e:
logger.error("Uncaught exception from loop")
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