Stop reraising exceptions in AsyncStream._connect
authorHarmon <Harmon758@gmail.com>
Tue, 26 Jan 2021 14:15:55 +0000 (08:15 -0600)
committerHarmon <Harmon758@gmail.com>
Tue, 26 Jan 2021 14:15:55 +0000 (08:15 -0600)
tweepy/asynchronous/streaming.py

index 8dfb2915ebfd7d25ce174de081494b13b73d8aad..1285f22beb5213cb01d9c7440204e9ab2fe6bbb5 100644 (file)
@@ -138,7 +138,6 @@ class AsyncStream:
             return
         except Exception as e:
             await self.on_exception(e)
-            raise
         finally:
             await self.session.close()
             await self.on_disconnect()