reduce default verbosity of devel-specific callback logging

This commit is contained in:
AlanCoding
2018-09-18 15:28:57 -04:00
parent e1d44d6d14
commit 482395eb6a
4 changed files with 21 additions and 9 deletions

View File

@@ -125,7 +125,7 @@ class BaseWorker(object):
except QueueEmpty:
continue
except Exception as e:
logger.error("Exception on worker, restarting: " + str(e))
logger.error("Exception on worker {}, restarting: ".format(idx) + str(e))
continue
try:
self.perform_work(body, *args)