-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show error message from backend (in case of consuming recipe if ingredients with disabled stock fulfillment checking) #866
Comments
Thanks for the suggestion, I will look whether the API does return the error too. |
Thanks yeah, maybe you can also show the stock amount even for "stock fulfillment checking"-disabled ingredients to prevent this error from occurring initially. (Especially, as – as indicated upstream – the error message, even if displayed, does not mention the bad ingredient, which can lead to painful debugging of your recipe 😅) Everything else would AFAIK need server support/changes in the general handling, as suggested in grocy/grocy#2533. |
STR
See grocy/grocy#2533
TL;DR: Make a recipe with an ingredient with "stock fulfillment checking" disabled. Not have it in stock.
Then try to consume the recipe from the app.
What happens
screen-20240502-225655.mp4
Just shows a very generic error:
A server error is shown, but no details. Grocy web, shows this instead:
What should happen
You may at least pass that error message to the user?
The text was updated successfully, but these errors were encountered: