Commit ad85ce17 authored by tehspaceg's avatar tehspaceg
Browse files

Fixes issue #570

This resolves an issue found here: https://github.com/tweepy/tweepy/issues/570

If an exception is thrown in the listener, the exception is not sent out currently and results in an error.
parent 17da79f9
......@@ -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