Closed eigenein closed 5 years ago
If Service.run panics, we may want to restart service (probably with exponential backoff).
Service.run
https://doc.rust-lang.org/stable/edition-guide/rust-2018/error-handling-and-panics/controlling-panics-with-std-panic.html
catch_unwind doesn't play nice with the Service.run parameters. It was decided that panics should never occur, and if that happens – then it should be fixed properly
catch_unwind
If
Service.run
panics, we may want to restart service (probably with exponential backoff).https://doc.rust-lang.org/stable/edition-guide/rust-2018/error-handling-and-panics/controlling-panics-with-std-panic.html