From 2e5e6e29b4936a3b2b660369d6fbe9c7ec94adb6 Mon Sep 17 00:00:00 2001 From: Paul van der Linden Date: Mon, 16 Feb 2015 20:51:56 +0000 Subject: [PATCH] raise exception with original traceback --- tweepy/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index bd1744d..fda054a 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -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: -- 2.25.1