Skip to content

Commit d481296

Browse files
author
Filip Knefel
committed
Propagate http exception
1 parent d2d4373 commit d481296

File tree

1 file changed

+1
-0
lines changed
  • unstructured_platform_plugins/etl_uvicorn

1 file changed

+1
-0
lines changed

unstructured_platform_plugins/etl_uvicorn/errors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def wrap_error(e: Exception) -> HTTPException:
5454
return UnprocessableEntityError(e)
5555
if e.status_code == 504:
5656
return GatewayTimeoutError(e)
57+
return e
5758
elif isinstance(e, ingest_errors.RateLimitError):
5859
return RateLimitError(e)
5960
elif isinstance(e, ingest_errors.QuotaError):

0 commit comments

Comments
 (0)