Ignore other unrecoverable errors in retry client
This commit is contained in:
parent
dbec56a95b
commit
7c11f208c0
@ -49,7 +49,7 @@ macro_rules! impl_inner_call {
|
||||
drop(read_client);
|
||||
match res {
|
||||
Ok(val) => return Ok(val),
|
||||
Err(Error::Protocol(_) | Error::AlreadySubscribed(_)) => {
|
||||
Err(Error::Protocol(_) | Error::AlreadySubscribed(_) | Error::NotSubscribed(_) | Error::NotSubscribedToHeaders) => {
|
||||
return res;
|
||||
},
|
||||
Err(e) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user