fix: handle None value in parameter validation

This commit is contained in:
Malak khoder 2025-12-14 23:03:05 +02:00
parent 1e09ed662d
commit fcb87729c9
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ def get_request_handler(
raise
except Exception as e:
http_error = HTTPException(
status_code=400, detail="There was an error parsing the body"
status_code=400, detail="An error occurred while parsing the body"
)
raise http_error from e