lukepierce / brewMonitor

Web Server to Monitor Fermentation
1 stars 1 forks source link

Exception Handling for "BadStatusLine" #9

Closed jandersson closed 9 years ago

jandersson commented 9 years ago

Traceback (most recent call last): File "thermoAcq.py", line 32, in response = http_conn.getresponse() File "/usr/lib/python3.2/http/client.py", line 1052, in getresponse response.begin() File "/usr/lib/python3.2/http/client.py", line 346, in begin version, status, reason = self._read_status() File "/usr/lib/python3.2/http/client.py", line 316, in _read_status raise BadStatusLine(line) http.client.BadStatusLine: ''

jandersson commented 9 years ago

Happens when the router does its nightly reset i believe.