Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bridge: propagate panics from runnables
Any error that can be recovered by restarting a runnable can also be recovered from by restarting the entire process. If we encounter a panic, it's safer to restart the process than attempting to limp along by restarting the runnable. We always assume that an external process manager will restart our process if it crashes. We already rely on this behavior for libp2p errors which we handle by terminating the process, since libp2p maintains global state that we can't clear. ghstack-source-id: 2f20ef764d32ffca16fb22055a85772e490616e7 Pull Request resolved: #45
- Loading branch information