More verboe error message
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ea968f9d18
commit
39d2f0300b
@ -33,7 +33,7 @@ def message_callback(channel, method, properties, body):
|
|||||||
try:
|
try:
|
||||||
results = MagicDoer.run_everything(msg) # <- This is where the magic happens
|
results = MagicDoer.run_everything(msg) # <- This is where the magic happens
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error(f"Something went wrong during AI run: {e}")
|
logging.error(f"Something went wrong during handling sample {msg['tag']} run: {e}; msg: {msg}")
|
||||||
logging.exception(e)
|
logging.exception(e)
|
||||||
channel.basic_nack(delivery_tag=method.delivery_tag, requeue=True)
|
channel.basic_nack(delivery_tag=method.delivery_tag, requeue=True)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user