Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
SchemaLoad
· 1y ago · 0 comments
Yeah even if you handled this situation without unwrap() if you just went down an error path that didn't panic, the service would likely still be inoperable if every single request went down the error path.
Comments
[–]
HL33tibCe7
1y ago
Okay, but if you returned a wrapped error it’d at least be easier to debug.
[–]
VMG
1y ago
not necessarily, by default `Result` does not even carry a stack trace