The "raise exception" is overriding the stack trace and hiding all errors, a simple...
authorAndré Panisson <panisson@gmail.com>
Mon, 18 Apr 2011 16:57:08 +0000 (09:57 -0700)
committerAndré Panisson <panisson@gmail.com>
Mon, 18 Apr 2011 16:57:08 +0000 (09:57 -0700)
tweepy/streaming.py

index 5203bcc1f5ce0a758193c0f8b8e5a073a4e06f2b..213ccbaeb34b8a4e5a28527f1858dc020e3163a1 100644 (file)
@@ -133,7 +133,7 @@ class Stream(object):
             conn.close()
 
         if exception:
-            raise exception
+            raise
 
     def _read_loop(self, resp):
           while self.running: