Skip to content

Commit 3d137e3

Browse files
committed
fix: Change README.md and allow HTTP exceptions to passthrough
1 parent 3ef48b4 commit 3d137e3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ python -m pytest --cov=src
8989

9090
---
9191
## 🔄 Protobuf Support 🔄
92-
TrustyAI can parse ModelMesh protobuf payloads for model inference data processing.
92+
To process model inference data from ModelMesh models, you can install protobuf support. Otherwise, only KServe models will be supported.
9393

9494
### Installing Dependencies
9595
Install the required dependencies for protobuf support:

src/endpoints/consumer/consumer_endpoint.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ async def consume_inference_payload(
211211
"message": f"Payload for {payload_id} processed successfully",
212212
}
213213

214+
except HTTPException:
215+
# HTTPException always goes through
216+
raise
214217
except Exception as e:
215218
logger.error(f"Error processing payload: {str(e)}")
216219
raise HTTPException(

0 commit comments

Comments
 (0)