Skip to content
Snippets Groups Projects
Commit f4497b4f authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Print exception when an action fails

parent dd3dcb63
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ class Executor:
self._running_actions.remove(d)
exception = d.exception()
if exception:
logging.critical("An action failed!")
logging.critical(exception)
if self._pending_actions:
logging.critical("Waiting for other running actions to terminate")
self._pending_actions = set()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment