From 8ea589b7b5bd9903a685c014fedd666d94a8a749 Mon Sep 17 00:00:00 2001 From: Litchi Pi Date: Thu, 24 Jul 2025 12:21:14 +0200 Subject: [PATCH] fixup Signed-off-by: Litchi Pi --- mealie/routes/recipe/recipe_crud_routes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mealie/routes/recipe/recipe_crud_routes.py b/mealie/routes/recipe/recipe_crud_routes.py index fb4bde287..81b639252 100644 --- a/mealie/routes/recipe/recipe_crud_routes.py +++ b/mealie/routes/recipe/recipe_crud_routes.py @@ -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,