Skip to content
Snippets Groups Projects
Commit 5636fd1b authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Print stack trace on crashed idle tasks

parent 8ac383d7
No related branches found
No related tags found
No related merge requests found
...@@ -270,7 +270,7 @@ def _wxIdleLoop(ev): ...@@ -270,7 +270,7 @@ def _wxIdleLoop(ev):
task.task(*task.args, **task.kwargs) task.task(*task.args, **task.kwargs)
except Exception as e: except Exception as e:
log.warning('Idle task {} crashed - {}: {}'.format( log.warning('Idle task {} crashed - {}: {}'.format(
taskName, type(e).__name__, str(e))) taskName, type(e).__name__, str(e)), exc_info=True)
if task.name is not None: if task.name is not None:
_idleQueueSet.discard(task.name) _idleQueueSet.discard(task.name)
......
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