Skip to content

Commit

Permalink
fix: change provider error to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
andysim3d committed Oct 29, 2024
1 parent 575ae2e commit ae9a433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/provider/src/alloy/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ where
if resp.is_error() {
let error = resp.as_error().unwrap();
if error.code < 0 {
tracing::error!(
tracing::warn!(
"alloy provider of method {} response with error: {}",
&method_name,
error
Expand All @@ -108,7 +108,7 @@ where
}
}
Err(e) => {
tracing::error!(
tracing::warn!(
"alloy provider of method {} response with error: {e:?}",
&method_name,
);
Expand Down

0 comments on commit ae9a433

Please sign in to comment.