Hacker News new | ask | show | jobs
by t0astbread 974 days ago
When I write tooling for myself in Go, I usually wrap all of my errors with stacktraces since I hate having to grep for a string that may be interpolated or duplicated throughout the codebase.

Addendum: It is still a good thing to be able to add context to the error message though, so I think you've got a point.