pmrowla / gumiya

Twitch+Bancho IRC bot and Django web interface
https://gumiya.pmrowla.com
MIT License
0 stars 0 forks source link

twitch api calls don't handle exceptions properly #11

Closed pmrowla closed 7 years ago

pmrowla commented 7 years ago
irc_1       | future: <Task finished coro=<GumiyaTwitchPlugin.join_live_channels() done, defined at /app/twitch_osu_bot/irc/twitch.py:137> exception=ConnectionError(Pro
tocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)),)>
irc_1       | Traceback (most recent call last):
irc_1       |   File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 601, in urlopen
irc_1       |     chunked=chunked)
irc_1       |   File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 387, in _make_request
irc_1       |     six.raise_from(e, None)
irc_1       |   File "<string>", line 2, in raise_from
irc_1       |   File "/usr/local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 383, in _make_request
irc_1       |     httplib_response = conn.getresponse()
irc_1       |   File "/usr/local/lib/python3.5/http/client.py", line 1198, in getresponse
irc_1       |     response.begin()
irc_1       |   File "/usr/local/lib/python3.5/http/client.py", line 297, in begin
irc_1       |     version, status, reason = self._read_status()
irc_1       |   File "/usr/local/lib/python3.5/http/client.py", line 266, in _read_status
irc_1       |     raise RemoteDisconnected("Remote end closed connection without"
irc_1       | http.client.RemoteDisconnected: Remote end closed connection without response