mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
don't display broken pipe
This commit is contained in:
parent
1b2cc70688
commit
7e6beaf8e7
@ -143,8 +143,6 @@ class Worker(object):
|
|||||||
except:
|
except:
|
||||||
if self.debug:
|
if self.debug:
|
||||||
self.log.warning("Unexpected error %s" % traceback.format_exc())
|
self.log.warning("Unexpected error %s" % traceback.format_exc())
|
||||||
else:
|
|
||||||
self.log.warning("Unexpected error %s" % str(exc))
|
|
||||||
|
|
||||||
def handle_winch(self, sig, fname):
|
def handle_winch(self, sig, fname):
|
||||||
# Ignore SIGWINCH in worker. Fixes a crash on OpenBSD.
|
# Ignore SIGWINCH in worker. Fixes a crash on OpenBSD.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user