ucarno / ow-league-tokens

Bot that farms Overwatch League tokens by pretending you watch league streams
https://discord.gg/kkq2XY4cJM
193 stars 24 forks source link

Deadlock on early connection failure #22

Closed AnnsAnns closed 1 year ago

AnnsAnns commented 2 years ago

When the connection to overwatchleague.com fails the program deadlocks with aiohttp.client_exceptions.ClientConnectorError.

To mitigate this either try to catch the specific exception when trying to connect or add a global exception handler that shuts the async runner down in order to allow automation software to restart the program.

ucarno commented 1 year ago

Added excpetion handling