Skip to content

Commit

Permalink
chore(dapi-client): improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Nov 21, 2024
1 parent 89333d7 commit b1e3e6c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/rs-dapi-client/src/dapi_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,18 @@ impl DapiRequestExecutor for DapiClient {
address: Some(address.clone()),
}
})?;
} else {
tracing::debug!(
?address,
?error,
"received server error, we should ban the node but banning is disabled"
);
}
} else {
tracing::trace!(?error, "received error");
tracing::debug!(
?error,
"server returned error, most likely the request is invalid"
);
}
}
};
Expand Down

0 comments on commit b1e3e6c

Please sign in to comment.