We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c9242f commit 017bd57Copy full SHA for 017bd57
1 file changed
api/src/lib.rs
@@ -1577,6 +1577,10 @@ impl Client {
1577
// This is for the case where some sort of network config (e.g. cloudflare) blocks
1578
// the request and returns invalid content
1579
true
1580
+ } else if let Error::BadSerdeJsonResponse(_) = error {
1581
+ // This is for the case where some sort of network config (e.g. cloudflare) blocks
1582
+ // the request and returns invalid content
1583
+ true
1584
} else if let Error::ReqwestError { source, .. } = error {
1585
// Should split timeouts
1586
source.is_timeout()
0 commit comments