From 2874a0972cbe764e5f6f1d5f2296ccc3bc633fc9 Mon Sep 17 00:00:00 2001 From: Krukov D Date: Fri, 3 Jun 2016 02:25:26 +0300 Subject: [PATCH] Using logger.error instead of logger.exception (#191) --- channels/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/worker.py b/channels/worker.py index caafd95..32f5edb 100644 --- a/channels/worker.py +++ b/channels/worker.py @@ -96,7 +96,7 @@ class Worker(object): # Handle the message match = self.channel_layer.router.match(message) if match is None: - logger.exception("Could not find match for message on %s! Check your routing.", channel) + logger.error("Could not find match for message on %s! Check your routing.", channel) continue else: consumer, kwargs = match