From 0289347af7ead5a1c0f3f0bfe8d52110e9c63971 Mon Sep 17 00:00:00 2001 From: aikaterna <20862007+aikaterna@users.noreply.github.com> Date: Fri, 15 Apr 2022 10:28:06 -0700 Subject: [PATCH] [IcyParser] Add additional exception catch --- icyparser/icyparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icyparser/icyparser.py b/icyparser/icyparser.py index ec5aaae..fbc0a87 100644 --- a/icyparser/icyparser.py +++ b/icyparser/icyparser.py @@ -46,7 +46,7 @@ class IcyParser(commands.Cog): return title, streamurl, image - except (KeyError, aiohttp.client_exceptions.ClientConnectionError): + except (KeyError, aiohttp.client_exceptions.ClientConnectionError, aiohttp.client_exceptions.ClientResponseError): return None, None, None def cog_unload(self):