Skip to content

Commit 2679935

Browse files
committed
Fixed an additional error return.
1 parent fc68cd2 commit 2679935

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

anms-core/anms/routes/transcoder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ async def transcoder_send_ari_str(eid: str, ari: str):
208208
raise e
209209
except Exception as e:
210210
logger.exception(e)
211-
return status.HTTP_500_INTERNAL_SERVER_ERROR
211+
raise HTTPException(status_code=status.HTTP_500_INTERNAL_SERVER_ERROR)
212+
212213

213214

0 commit comments

Comments
 (0)