mirror of
https://github.com/django/daphne.git
synced 2025-07-13 09:22:17 +03:00
updated print statements
This commit is contained in:
parent
0e456b3125
commit
414a4ab460
|
@ -35,5 +35,5 @@ class Worker(object):
|
||||||
except Message.Requeue:
|
except Message.Requeue:
|
||||||
self.channel_backend.send(channel, content)
|
self.channel_backend.send(channel, content)
|
||||||
except:
|
except:
|
||||||
print "Error processing message with consumer %s:" % name_that_thing(consumer)
|
print("Error processing message with consumer {}:".format(name_that_thing(consumer)))
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user