Skip to content
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

Misleading error message when deleting ingredients with negative values #1

Open
wenhaogoh opened this issue Oct 30, 2020 · 0 comments

Comments

@wenhaogoh
Copy link
Owner

Steps for recreation:

  1. add ingredient pear /qty 100
  2. delete ingredient pear /qty -1
  3. Error message shows: insufficient 'pear' to remove given quantity

Perhaps it would be clearer to inform the user that the input is errorneous.

Before:
Screenshot 2020-10-30 at 4.17.48 PM.png

After
Screenshot 2020-10-30 at 4.17.54 PM.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant