Change temporary print to a MinerException

This commit is contained in:
DevilXD committed 2024-09-11 10:50:30 +02:00
1 parent d3a754a438
commit 9c58befac3
1 file changed
+2 -3
+2 -3
View File
@@ -384,7 +384,6 @@ class Channel:
# without downloading the actual stream data # without downloading the actual stream data
async with self._twitch.request("HEAD", stream_chunk_url) as head_response: async with self._twitch.request("HEAD", stream_chunk_url) as head_response:
return head_response.status == 200 return head_response.status == 200
except aiohttp.InvalidURL: except aiohttp.InvalidURL as exc:
# Temporarily log the entire response into the output # Temporarily log the entire response into the output
self._twitch.print(available_chunks) raise MinerException(available_chunks) from exc
raise