Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
ryu/lib/hub.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ryu/lib/hub.py b/ryu/lib/hub.py
index 44e5fea..49f3a9c 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())
--
1.8.0.1
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel