mirror of
https://github.com/django/daphne.git
synced 2025-04-21 17:22:03 +03:00
updated print statements
This commit is contained in:
parent
0e456b3125
commit
414a4ab460
|
@ -35,5 +35,5 @@ class Worker(object):
|
|||
except Message.Requeue:
|
||||
self.channel_backend.send(channel, content)
|
||||
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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user