Commit 78d2883a authored by Joshua Roesslein's avatar Joshua Roesslein
Browse files

Merge pull request #574 from tehspaceg/patch-1

Fixes issue #570 - add "exception" when raising one
parents fe60c1d8 ad85ce17
......@@ -283,7 +283,7 @@ class Stream(object):
if exception:
# call a handler first so that the exception can be logged.
self.listener.on_exception(exception)
raise
raise exception
def _data(self, data):
if self.listener.on_data(data) is False:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment