nus-cs2113-AY2223S1 / pe-dev-response

0 stars 0 forks source link

Unnecessary information shown when IO errors are identified #884

Open nus-pe-bot opened 1 year ago

nus-pe-bot commented 1 year ago

When there is IO error on info command, there should only be error message without needing to print module code, name and description with value null

Steps to Reproduce

  1. Start the program with internet connected.
  2. Input 1
  3. Disconnect the internet
  4. Input info then input cs2113

Expected

I expect that only an error message is shown as the information are unnecessary.

info
Please enter module code
cs2113
Some IO errors has occurred, please try again

Actual

image.png


[original: nus-cs2113-AY2223S1/pe-interim#853] [original labels: type.FeatureFlaw severity.Low]

cheehengk commented 1 year ago

Team's Response

This bug is cosmetic and does not affect usage. However, the dev team does acknowledge that the printed content might seem out of place in the eyes of the user.

Duplicate status (if any):

--