Open macareonie opened 2 months ago
Thanks for raising this.
We believe that this is a documentation bug as its solely caused by a line break in the command example.
We downgrade the severity to low, as it is a minor inconvenience and does not affect normal operations as users are not expected to copy paste from the UG for their daily operations.
Team chose [type.DocumentationBug
]
Originally [type.FunctionalityBug
]
Reason for disagreement: [replace this with your explanation]
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