Skip to content

Commit

Permalink
add mime type info into error
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Dec 13, 2023
1 parent 558293f commit 92ad63c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion processing/audio_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def process(recording, jwtKey, conf):

if not input_extension:
# Unsupported mimetype. If needed more mimetypes can be added above.
logger.error("unsupported mimetype. Not processing")
logger.error(
"unsupported mimetype. Not processing %s", recording["rawMimeType"]
)
api.report_done(recording, recording["rawFileKey"], recording["rawMimeType"])
return

Expand Down

0 comments on commit 92ad63c

Please sign in to comment.