requests riase if status not ok
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-04-29 23:10:50 +02:00
parent d516059c84
commit 406b8a20a6
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -75,7 +75,7 @@ class SampleResource(Resource):
'wave.wav',
soundfile,
soundfile.content_type,
{'Content-Length': soundfile.content_length})})
{'Content-Length': soundfile.content_length})}).raise_for_status()
rabbitmq_channel.basic_publish(
exchange=RABBITMQ_EXCHANGE,
routing_key='feature',