raise exception with original traceback
authorPaul van der Linden <mail@paultjuh.org>
Mon, 16 Feb 2015 20:51:56 +0000 (20:51 +0000)
committerPaul van der Linden <mail@paultjuh.org>
Mon, 16 Feb 2015 20:51:56 +0000 (20:51 +0000)
tweepy/streaming.py

index bd1744d69a86e4bea9610f53330965daf66c2bfc..fda054ad73e869c219006b724d307db7a214d37e 100644 (file)
@@ -275,7 +275,7 @@ class Stream(object):
         if exception:
             # call a handler first so that the exception can be logged.
             self.listener.on_exception(exception)
-            raise exception
+            raise
 
     def _data(self, data):
         if self.listener.on_data(data) is False: