Derekljh / pe

0 stars 0 forks source link

Error message for invalid index for deleting a note overwrites invalid index of contact #4

Open Derekljh opened 6 months ago

Derekljh commented 6 months ago

Just a minor error, but the displayed error for index out of bounds(i.e contact doesnt exist at that index) gets overwritten by the error for index not being a non-zero unsigned integer. I would think that it would be the other way round, where if the contact does not exist, it should always show me the error that the contact index is out of bounds and no contact exists at that index.

Here is the screenshot:

IndexOutOfBounds.PNG

Note that there is no contact after index 7.

soc-pe-bot commented 6 months ago

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