Stop reraising exceptions in Stream._connect
authorHarmon <Harmon758@gmail.com>
Sun, 24 Jan 2021 14:30:34 +0000 (08:30 -0600)
committerHarmon <Harmon758@gmail.com>
Sun, 24 Jan 2021 14:30:34 +0000 (08:30 -0600)
Resolves #1072

tweepy/streaming.py

index 05766e1fd9e3e5b329d4be5528eec2564acc223a..d94a4f1992890cbff43f99767c01db259351f324 100644 (file)
@@ -124,7 +124,6 @@ class Stream:
                     )
         except Exception as exc:
             self.on_exception(exc)
-            raise
         finally:
             self.session.close()
             self.running = False