macareonie / pe

0 stars 0 forks source link

Unclear error message when executing commands #2

Open macareonie opened 2 months ago

macareonie commented 2 months ago

Describe the bug

Unclear error message faced when inputting add command When copypasting the command from the UG, there was a missing whitespace between the parameter for income and the prefix for email, resulting in an error message indicating missing email prefix and parameter

To Reproduce

add n/John Doe p/98765432 i/20000e/johnd@example.com a/311, Clementi Ave 2, #02-25 f/4 t/buyer t/seller h/HDB r/Has 3 cats b/01May2009

Expected behavior

The parsing error/exception should be caught and display a clearer error message, something like "check for formatting issues" instead of saying the email param is missing when it is actually there, but not able to be parsed

Screenshots

image.png

nus-pe-bot commented 2 months ago

Team's Response

Thanks for raising this.

Team chose [type.DocumentationBug] Originally [type.FunctionalityBug]

Reason for disagreement: [replace this with your explanation]


## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.Medium`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]