Skip to content

Commit

Permalink
Change temporary print to a MinerException
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Sep 11, 2024
1 parent d3a754a commit 9c58bef
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ async def send_watch(self) -> bool:
# 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.InvalidURL:
except aiohttp.InvalidURL as exc:
# Temporarily log the entire response into the output
self._twitch.print(available_chunks)
raise
raise MinerException(available_chunks) from exc

0 comments on commit 9c58bef

Please sign in to comment.