diff --git a/sanic/server.py b/sanic/server.py index 9081b729..b6233031 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -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)