RestartNeeded is a connection error (#894)

This commit is contained in:
Svyatoslav Nikolsky
2021-04-13 18:17:41 +03:00
committed by Bastian Köcher
parent a2566970eb
commit a783775ca5
@@ -72,6 +72,7 @@ impl MaybeConnectionError for Error {
// right now if connection to the ws server is dropped (after it is already established),
// we're getting this error
| Error::RpcError(RpcError::Internal(_))
| Error::RpcError(RpcError::RestartNeeded(_))
| Error::ClientNotSynced(_),
)
}