Fixed Exception error log on line 157 of server.py

This commit is contained in:
abhishek7 2016-11-20 21:37:01 -05:00
parent de92603ccf
commit f7f578ed44

View File

@ -154,7 +154,7 @@ class HttpProtocol(asyncio.Protocol):
self.cleanup()
except Exception as e:
self.bail_out(
"Writing request failed, connection closed {}".format(e))
"Writing response failed, connection closed {}".format(e))
def bail_out(self, message):
log.debug(message)