Closed rzadp closed 4 months ago
Some apps using the runtimeRestarter are prepared to handle temporary disconnections to the chain.
runtimeRestarter
However, the current implementation of runtimeRestarter will cause an unhandled error and a crash in such a case.
I'm proposing to not throw an error on those disconnections, which are quite frequent. The checks will continue when the socket reconnects.
Some apps using the
runtimeRestarter
are prepared to handle temporary disconnections to the chain.However, the current implementation of
runtimeRestarter
will cause an unhandled error and a crash in such a case.I'm proposing to not throw an error on those disconnections, which are quite frequent. The checks will continue when the socket reconnects.