Re:Cloudflare outage on November 18, 2025 post mortem
by cube00 on Wednesday November 19, 2025 @03:32AM
(#45977148)
> Not panicking code is tedious to write.
Using the question mark operator [1] and even adding in some anyhow::context goes a long way to being able to fail fast and return an Err rather then panicking.
Sure you need to handle Results all the way up the stack but at least it forces you to think about how those nested parts of your app will fail as you travel back up the stack.
Using the question mark operator [1] and even adding in some anyhow::context goes a long way to being able to fail fast and return an Err rather then panicking.
Sure you need to handle Results all the way up the stack but at least it forces you to think about how those nested parts of your app will fail as you travel back up the stack.
[1]: https://doc.rust-lang.org/rust-by-example/std/result/questio...