Skip to content

Commit 7c11f20

Browse files
committed
Ignore other unrecoverable errors in retry client
1 parent dbec56a commit 7c11f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ macro_rules! impl_inner_call {
4949
drop(read_client);
5050
match res {
5151
Ok(val) => return Ok(val),
52-
Err(Error::Protocol(_) | Error::AlreadySubscribed(_)) => {
52+
Err(Error::Protocol(_) | Error::AlreadySubscribed(_) | Error::NotSubscribed(_) | Error::NotSubscribedToHeaders) => {
5353
return res;
5454
},
5555
Err(e) => {

0 commit comments

Comments
 (0)