mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-20 16:43:43 +00:00
Update change to suppress reporting of Tornado exception error 1 to updated package (ref:hacks.txt).
This commit is contained in:
parent
5beb10b19d
commit
0bacbb3075
3 changed files with 7 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
* Remove EZRSS provider
|
||||
* Update Tornado webserver to 4.2b1 (61a16c9)
|
||||
* Update change to suppress reporting of Tornado exception error 1 to updated package (ref:hacks.txt)
|
||||
|
||||
|
||||
### 0.9.0 (2015-05-18 14:33:00 UTC)
|
||||
|
|
|
@ -698,8 +698,9 @@ class HTTP1ServerConnection(object):
|
|||
# This exception was already logged.
|
||||
conn.close()
|
||||
return
|
||||
except Exception:
|
||||
gen_log.error("Uncaught exception", exc_info=True)
|
||||
except Exception as e:
|
||||
if 1 != e.errno:
|
||||
gen_log.error("Uncaught exception", exc_info=True)
|
||||
conn.close()
|
||||
return
|
||||
if not ret:
|
||||
|
|
|
@ -644,8 +644,9 @@ class BaseIOStream(object):
|
|||
pos = self._read_to_buffer_loop()
|
||||
except UnsatisfiableReadError:
|
||||
raise
|
||||
except Exception:
|
||||
gen_log.warning("error on read", exc_info=True)
|
||||
except Exception as e:
|
||||
if 1 != e.errno:
|
||||
gen_log.warning("error on read", exc_info=True)
|
||||
self.close(exc_info=True)
|
||||
return
|
||||
if pos is not None:
|
||||
|
|
Loading…
Reference in a new issue