mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
this is just a warning, we don't really care about exceptions here.
This commit is contained in:
parent
ba89a400dc
commit
3fc530c162
@ -144,7 +144,7 @@ class Worker(object):
|
|||||||
try:
|
try:
|
||||||
util.write_error(client, status_int, reason, mesg)
|
util.write_error(client, status_int, reason, mesg)
|
||||||
except:
|
except:
|
||||||
self.log.exception("Failed to send error message.")
|
self.log.warning("Failed to send error message.")
|
||||||
|
|
||||||
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