5 ms·
IMO if you show an error to end users it needs to be actionable. Tell them what to do instead (e.g retry or wait, use other input file, etc etc). So don't say
by Insanity 5mo ago
IMO if you show an error to end users it needs to be actionable. Tell them what to do instead (e.g retry or wait, use other input file, etc etc).
So don't say "InvalidArgumentException xyz", say "Expected a number but got 'hello'".
This doesn't always work, but essentially hide tech details from users. If you must, include a bit of extra information (a request number or whatever) that helps you log dive.
- t-writescode 5mo agoMaybe in the UX; but for the love of all things, please shove that data in a user-accessible error log, with enough verbosity that someone could debug it themselves. I am so tired of having to submit a HUGE FUCKING FILE that includes a ton of PII to customer support, only for them to ask the same “did you try uninstalling and reinstalling the app?” (Yes.) afterward.
- deleted 5mo ago[deleted]
- 8note 5mo agoexpected what to be a number? what i have is a string. how do i turn my string into a relevant number?
- setr 5mo agoThe action on an unhandled / unexpected exception is “please submit this information to your closest administrator” And then dump whatever you want, with a copy button
- doublerabbit 5mo agoThen you find the bug report form was deactivated and the message never being updated. So your now stuck with an error and no where to report it to.
- rootnod3 5mo agoStill better than an error message with pretty much zero info.