summaryrefslogtreecommitdiff
path: root/aiogreen.py
diff options
context:
space:
mode:
Diffstat (limited to 'aiogreen.py')
-rw-r--r--aiogreen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/aiogreen.py b/aiogreen.py
index 3a46956..6c44d00 100644
--- a/aiogreen.py
+++ b/aiogreen.py
@@ -192,6 +192,8 @@ class EventLoop(asyncio.SelectorEventLoop):
def set_debug(self, debug):
super(EventLoop, self).set_debug(debug)
+ self._hub.debug_exceptions = debug
+
# Detect blocking eventlet functions. The feature is implemented with
# signal.alarm() which is is not available on Windows.
self._hub.debug_blocking = debug and (sys.platform != 'win32')