Fixed Exception error log on line 157 of server.py
This commit is contained in:
parent
de92603ccf
commit
f7f578ed44
|
@ -154,7 +154,7 @@ class HttpProtocol(asyncio.Protocol):
|
||||||
self.cleanup()
|
self.cleanup()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.bail_out(
|
self.bail_out(
|
||||||
"Writing request failed, connection closed {}".format(e))
|
"Writing response failed, connection closed {}".format(e))
|
||||||
|
|
||||||
def bail_out(self, message):
|
def bail_out(self, message):
|
||||||
log.debug(message)
|
log.debug(message)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user