Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unstructured_platform_plugins/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.31" # pragma: no cover
__version__ = "0.0.32" # pragma: no cover
7 changes: 1 addition & 6 deletions unstructured_platform_plugins/etl_uvicorn/api_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from functools import partial
from typing import Any, Callable, Optional, Union

from fastapi import FastAPI, HTTPException, status
from fastapi import FastAPI, status
from fastapi.responses import StreamingResponse
from opentelemetry.instrumentation.fastapi import FastAPIInstrumentor
from pydantic import BaseModel, Field, create_model
Expand Down Expand Up @@ -208,11 +208,6 @@ async def _stream_response():
output=output,
file_data=request_dict.get("file_data", None),
)
except HTTPException as exc:
logger.error(
f"HTTPException: {exc.detail} (status_code={exc.status_code})", exc_info=True
)
raise
except UnrecoverableException as ex:
logger.info("Unrecoverable error occurred during plugin invocation")
return InvokeResponse(
Expand Down