mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Change to suppress reporting of Tornado exception error 1.
This commit is contained in:
parent
135443d8b1
commit
cfd6ec4e00
3 changed files with 8 additions and 5 deletions
|
@ -35,6 +35,7 @@
|
|||
* Fix proxy_indexers setting not loading from config file
|
||||
* Add subtitle information to the cmd show and cmd shows api output
|
||||
* Removed requirement for http login for API when an API key is provided
|
||||
* Change API now uses Timezone setting at General Config/Interface/User Interface/ at relevant endpoints
|
||||
|
||||
[develop changelog]
|
||||
* Improve display of progress bars in the Downloads columns of the show list page
|
||||
|
@ -49,7 +50,7 @@
|
|||
* Fix and repositioned show_message on display show to use bootstrap styling
|
||||
* Remove commented out html from display show accidently left in during UI changes
|
||||
* Fix display issue of season tables in displayShow view / Display Specials
|
||||
* Change API now uses Timezone setting at General Config/Interface/User Interface/ at relevant endpoints
|
||||
* Change to suppress reporting of Tornado exception error 1
|
||||
|
||||
|
||||
### 0.2.1 (2014-10-22 06:41:00 UTC)
|
||||
|
|
|
@ -686,8 +686,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:
|
||||
|
|
|
@ -601,8 +601,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