forked from LiveCarta/BookConverter
minor update consumer.py
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user