Leo found a potential double-panic here: https://github.com/cloudflare/foundations/blob/main/foundations/src/panic/hook.rs#L60
If stderr is closed, eprintln! will unwrap and panic within the panic handler. The fix is grabbing stderr ourselves, and eating the write error if there is one.
Leo found a potential double-panic here: https://github.com/cloudflare/foundations/blob/main/foundations/src/panic/hook.rs#L60
If stderr is closed, eprintln! will unwrap and panic within the panic handler. The fix is grabbing stderr ourselves, and eating the write error if there is one.