diff options
-rw-r--r-- | ryu/lib/hub.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py index 44e5feaa..49f3a9c5 100644 --- a/ryu/lib/hub.py +++ b/ryu/lib/hub.py @@ -47,6 +47,9 @@ if HUB_TYPE == 'eventlet': try: func(*args, **kwargs) except: + # log uncaught exception. + # note: this is an intentional divergence from gevent + # behaviour. gevent silently ignores such exceptions. LOG.error('hub: uncaught exception: %s', traceback.format_exc()) |