Skip to content

Commit

Permalink
Undo earlier Reject change
Browse files Browse the repository at this point in the history
  • Loading branch information
EricTendian committed Sep 22, 2024
1 parent 3f022af commit 98630bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ def transcribe_task(
audio_file=audio_file,
options=options,
)
except WhisperException as e:
logger.warning(e)
raise Reject(str(e), requeue=False)
finally:
try:
os.unlink(audio_file)
Expand Down

0 comments on commit 98630bd

Please sign in to comment.