Merge pull request #165 from abhishek7/master
Revised error message in server.py (Issue #157)
This commit is contained in:
commit
7b85843363
|
@ -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