I was reading Madhur’s blog post on how to enable stack trace displays and now I’m wondering: why don’t we always show a stack trace?
Who came up with that rule and why do we follow it?
End users will know something is wrong in either case. At least with a stack trace, they can press control-printscreen, copy/paste into an email and send it to IT. That would clearly reduce the time and effort required to solve the issue.
</end>
Technorati Tags: Ranting
For applications I write that won’t ever get into consumers’ hands, I almost always ignore try/catch blocks altogether. When something goes wrong, we get a nice exception message with all the information we need to figure out what’s going on.