This commit is contained in:
parent
e756ff614a
commit
2d36ed6991
@ -79,7 +79,7 @@ class SampleResource(Resource):
|
||||
rabbitmq_channel.basic_publish(
|
||||
exchange=RABBITMQ_EXCHANGE,
|
||||
routing_key='feature',
|
||||
body=generated_tag)
|
||||
body=json.dumps({'tag': generated_tag}).encode('utf-8'))
|
||||
except Exception as e:
|
||||
LOGGER.exception(e)
|
||||
db.session.rollback()
|
||||
|
Loading…
Reference in New Issue
Block a user