diff --git a/app/twitch_client.py b/app/twitch_client.py index b275e35..c1778c9 100644 --- a/app/twitch_client.py +++ b/app/twitch_client.py @@ -116,7 +116,7 @@ class TwitchClient: }, params={"user_login": self.streamer}, ) - except NewConnectionError: + except requests.exceptions.ConnectionError: logger.warning("Twitch API is not reachable at the moment.") return None