News for hackers. Stuff that matters.
Re:Error handling in Upspin by oblio on Thursday December 07, 2017 @02:39AM (#15868382)
Oftentimes the stacktrace is useful even to the user.

"Foo calling Bar, which fails. Let's check if Foo is configured correctly".

Even the abominations that are Spring stacktraces are useful. I think every language that can include them should include them.

Re:Error handling in Upspin by natefinch on Friday December 08, 2017 @09:46AM (#15878906)
hell no. Rule #1 - users should never see stack traces. Every time some python tool fails and dumps a stack trace, I want to throw my computer across the room. As as user, I never want to see a stack trace. I have zero interest in debugging some random tool. Show me a decent error message with tips on how to get more info. If you want a stack trace that I can give in an error report, put it in a log file somewhere.