Re:More powerful Go execution traces
by closeparen on Friday March 15, 2024 @11:04AM
(#39716564)
You’re supposed to prepend the context to an error before you return it, so the final error reads like a top-level stack trace: “handling request: fooing the bar: barring the baz: connecting to DB: timeout.”
[ Parent
| on HN ]
There are no comments on this comment yet.