From 98db85a73ffe419109d02b11c3d4437986303f01 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 26 Jan 2021 08:15:55 -0600 Subject: [PATCH] Stop reraising exceptions in AsyncStream._connect --- tweepy/asynchronous/streaming.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tweepy/asynchronous/streaming.py b/tweepy/asynchronous/streaming.py index 8dfb291..1285f22 100644 --- a/tweepy/asynchronous/streaming.py +++ b/tweepy/asynchronous/streaming.py @@ -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() -- 2.25.1