We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0146ba2 commit 065df11Copy full SHA for 065df11
stacks-signer/src/client/stacks_client.rs
@@ -590,9 +590,10 @@ impl StacksClient {
590
.map_err(|e| backoff::Error::transient(e.into()))?;
591
let status = response.status();
592
if status.is_success() {
593
- return response
594
- .json()
595
- .map_err(|e| backoff::Error::permanent(e.into()));
+ return response.json().map_err(|e| {
+ warn!("Failed to parse the GetStackers response: {e}");
+ backoff::Error::permanent(e.into())
596
+ });
597
}
598
let error_data = response.json::<GetStackersErrorResp>().map_err(|e| {
599
warn!("Failed to parse the GetStackers error response: {e}");
0 commit comments