mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-04 20:06:09 +02:00
hub: comment
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
aa7518a073
commit
6955c13e4e
@ -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())
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user