Skip to content

Commit

Permalink
Ignore other unrecoverable errors in retry client
Browse files Browse the repository at this point in the history
  • Loading branch information
RCasatta committed Jul 13, 2023
1 parent dbec56a commit 7c11f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 7c11f20

Please sign in to comment.