We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfdefef commit 72b6c1cCopy full SHA for 72b6c1c
1 file changed
osbot_fast_api/api/routes/Fast_API__Routes.py
@@ -106,8 +106,8 @@ def wrapper(**kwargs):
106
result = function(**converted_kwargs) # Call original function
107
except HTTPException:
108
raise # Re-raise HTTPException unchanged
109
- except RequestValidationError:
110
- raise # also re-raise RequestValidationError
+ # except RequestValidationError:
+ # raise # also re-raise RequestValidationError
111
except Exception as e:
112
raise HTTPException(status_code=400, detail=f"{type(e).__name__}: {e}") # Convert exceptions to HTTP 400
113
0 commit comments