mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 02:48:03 +00:00
RestartNeeded is a connection error (#894)
This commit is contained in:
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(_),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user