Update change to suppress reporting of Tornado exception error 1 to updated package as listed in hacks.txt.

This commit is contained in:
JackDandy 2015-04-28 17:41:23 +01:00 committed by JackDandy
parent 84fb3e5df9
commit 2f266a4b5f
3 changed files with 7 additions and 4 deletions

View file

@ -1,6 +1,7 @@
### 0.x.x (2015-xx-xx xx:xx:xx UTC) ### 0.x.x (2015-xx-xx xx:xx:xx UTC)
* Update Tornado webserver to 4.2.dev1 (609dbb9) * Update Tornado webserver to 4.2.dev1 (609dbb9)
* Update change to suppress reporting of Tornado exception error 1 to updated package as listed in hacks.txt
* Change network names to only display on top line of Day by Day layout on Episode View * Change network names to only display on top line of Day by Day layout on Episode View
* Reposition country part of network name into the hover over in Day by Day layout * Reposition country part of network name into the hover over in Day by Day layout
* Add ToTV provider * Add ToTV provider

View file

@ -698,8 +698,9 @@ class HTTP1ServerConnection(object):
# This exception was already logged. # This exception was already logged.
conn.close() conn.close()
return return
except Exception: except Exception as e:
gen_log.error("Uncaught exception", exc_info=True) if 1 != e.errno:
gen_log.error("Uncaught exception", exc_info=True)
conn.close() conn.close()
return return
if not ret: if not ret:

View file

@ -644,8 +644,9 @@ class BaseIOStream(object):
pos = self._read_to_buffer_loop() pos = self._read_to_buffer_loop()
except UnsatisfiableReadError: except UnsatisfiableReadError:
raise raise
except Exception: except Exception as e:
gen_log.warning("error on read", exc_info=True) if 1 != e.errno:
gen_log.warning("error on read", exc_info=True)
self.close(exc_info=True) self.close(exc_info=True)
return return
if pos is not None: if pos is not None: