projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17da79f
)
Fixes issue #570
author
tehspaceg
<bitbox@geran.me>
Thu, 12 Mar 2015 18:14:48 +0000
(11:14 -0700)
committer
tehspaceg
<bitbox@geran.me>
Thu, 12 Mar 2015 18:14:48 +0000
(11:14 -0700)
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.
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 9b246bda820c5f2e5b31abcd3bf8b6570a7b2f93..5840437481db367e0b4e86a9d38aaaafd4fe7531 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-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: