Re:Migrating from Go to Rust
by what on Monday May 25, 2026 @01:05AM
(#48263561)
You’re supposed to bubble errors up to the level that can appropriately deal with them? You don’t need to log them each step of the way.
[ Parent
| on HN ]
Re:Migrating from Go to Rust
by awesome_dude on Monday May 25, 2026 @01:41AM
(#48263748)
Yeah - but that's the same as my final point - you have to know who is supposed to manage the error/log - all the way up (and down) the call graph
edit: I've just finished debugging a multi system chain - FE -> SNS -> SQS -> Lambda -> DynamoDB -> Lambda -> Webhook -> My poor code
My code has multiple layers - and I was trying to find where in the very long chain of calls the data was being mangled
It turned out that there was an unlogged error, which was mismanaged by a caller - there's no shade here - the caller was handling the error how it was designed to, but by not logging that there was an error - it took a minute to understand.