Commit 4d8ebd1a authored by Denis Bilenko's avatar Denis Bilenko

replace pass with traceback.print_exc()

parent 18def513
...@@ -108,7 +108,7 @@ class Event(object): ...@@ -108,7 +108,7 @@ class Event(object):
try: try:
sys.stderr.write('Failed to notify link %r of %r\n\n' % (link, self)) sys.stderr.write('Failed to notify link %r of %r\n\n' % (link, self))
except: except:
pass traceback.print_exc()
class AsyncResult(object): class AsyncResult(object):
...@@ -276,7 +276,7 @@ class AsyncResult(object): ...@@ -276,7 +276,7 @@ class AsyncResult(object):
try: try:
sys.stderr.write('Failed to notify link %r of %r\n\n' % (link, self)) sys.stderr.write('Failed to notify link %r of %r\n\n' % (link, self))
except: except:
pass traceback.print_exc()
finally: finally:
self._notifier = None self._notifier = None
......
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