Revert "Try to remedy the exception not getting caught"

This reverts commit a42a72bfb1.
This commit is contained in:
DevilXD committed 2024-09-11 10:45:27 +02:00
1 parent 990a5850e4
commit d3a754a438
1 file changed
+1 -2
+1 -2
View File
@@ -5,7 +5,6 @@ import logging
from typing import Any, SupportsInt, cast, TYPE_CHECKING
import aiohttp
import aiohttp.client_exceptions
from yarl import URL
from utils import Game
@@ -385,7 +384,7 @@ class Channel:
# without downloading the actual stream data
async with self._twitch.request("HEAD", stream_chunk_url) as head_response:
return head_response.status == 200
except aiohttp.client_exceptions.InvalidUrlClientError:
except aiohttp.InvalidURL:
# Temporarily log the entire response into the output
self._twitch.print(available_chunks)
raise