nshian / nus-cs2113-pe

0 stars 0 forks source link

Program crashes on user entering more than 10 characters for module code instead of printing error message #7

Open nshian opened 1 year ago

nshian commented 1 year ago

In the off chance that the user fails to read the UG carefully and enters more than 10 characters for the module code, the program crashes and exits. Although this goes against what is stipulated in the UG, I think it would be a better idea for the program to handle this case and print an error message to the user to inform them of their error so they can make the necessary adjustments. Otherwise, they will be left wondering why the application does not function as intended.

image.png

nus-se-script commented 1 year ago

Your response not required for this bug as the team has accepted the bug as it is.