From: André Panisson Date: Mon, 18 Apr 2011 16:57:08 +0000 (-0700) Subject: The "raise exception" is overriding the stack trace and hiding all errors, a simple... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=83f19c584f89677463b73353d30a665eed7d086f;p=tweepy.git The "raise exception" is overriding the stack trace and hiding all errors, a simple "raise" should be fine. --- diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 5203bcc..213ccba 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -133,7 +133,7 @@ class Stream(object): conn.close() if exception: - raise exception + raise def _read_loop(self, resp): while self.running: