mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
fixup
Signed-off-by: Litchi Pi <litchi.pi@proton.me>
This commit is contained in:
parent
e76e820d37
commit
8ea589b7b5
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ class RecipeController(BaseRecipeController):
|
|||
self.logger.error("No Entry Found on recipe controller action")
|
||||
raise HTTPException(status_code=404, detail=ErrorResponse.respond(message="No Entry Found"))
|
||||
elif thrownType == exceptions.IncompleteData:
|
||||
missing = ex.missing
|
||||
assert isinstance(ex.__context__, exceptions.IncompleteData)
|
||||
missing = ex.__context__.missing
|
||||
self.logger.error("Incomplete data provided to API route:", missing)
|
||||
raise HTTPException(
|
||||
status_code=400,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue