diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-05-08 15:24:42 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-05-10 00:36:30 +0900 |
commit | 6955c13e4e08351638a150526224061f2d79040d (patch) | |
tree | 2eafbf37c94f16222c9da01f8b644436532cc3aa | |
parent | aa7518a0739ad29fbd7f3ff642a0a0cd27f90abc (diff) |
hub: comment
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-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()) |