diff --git a/daphne/http_protocol.py b/daphne/http_protocol.py index 9986393..666ebf7 100755 --- a/daphne/http_protocol.py +++ b/daphne/http_protocol.py @@ -133,7 +133,7 @@ class WebRequest(http.Request): """ if "status" in message: if self._got_response_start: - raise ValueError("Got multiple Response messages!") + raise ValueError("Got multiple Response messages for %s!" % self.reply_channel) self._got_response_start = True # Write code status_text = message.get("status_text", None) diff --git a/daphne/server.py b/daphne/server.py index 332b231..ab19d11 100755 --- a/daphne/server.py +++ b/daphne/server.py @@ -38,7 +38,6 @@ class Server(object): channel, message = self.channel_layer.receive_many(channels, block=False) if channel: delay = 0 - logging.debug("Server got message on %s", channel) # Deal with the message self.factory.dispatch_reply(channel, message) reactor.callLater(delay, self.backend_reader)