requests riase if status not ok
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
d516059c84
commit
406b8a20a6
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user