minor update consumer.py

This commit is contained in:
Jeniamakarchik
2020-02-24 16:58:21 +03:00
parent 2e2b04a85e
commit a25ece04b5

View File

@@ -91,7 +91,7 @@ if __name__ == '__main__':
try: try:
channel.queue_declare(queue=conf_param['queue'], passive=True) channel.queue_declare(queue=conf_param['queue'], passive=True)
except ValueError as exc: except ValueError as exc:
logger.log(logging.ERROR, 'Queue is not declared.') logger.log(logging.ERROR, f'Queue {conf_param["queue"]} is not declared.')
raise exc raise exc
acs = Access() acs = Access()