Commit 30cd8f0d authored by Denis Bilenko's avatar Denis Bilenko

proc.py: when printing a traceback, also print which callback has failed

parent 680557cd
......@@ -423,6 +423,10 @@ class Source(object):
consult.pop(listener, None)
except:
traceback.print_exc()
try:
sys.stderr.write('Failed to execute link %s to %s\n\n' % (listener, self))
except:
pass
def wait(self, timeout=None, exception=None):
"""Wait until send() or send_exception() is called or `timeout' has
......
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