From f09781e5eaef564c9b6070e14b205df58c53be2a Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 29 Oct 2024 18:24:05 -0400 Subject: [PATCH] fix: change provider error log to warning (#891) --- crates/provider/src/alloy/metrics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/provider/src/alloy/metrics.rs b/crates/provider/src/alloy/metrics.rs index e58db3cd3..5a784b557 100644 --- a/crates/provider/src/alloy/metrics.rs +++ b/crates/provider/src/alloy/metrics.rs @@ -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 @@ -108,7 +108,7 @@ where } } Err(e) => { - tracing::error!( + tracing::warn!( "alloy provider of method {} response with error: {e:?}", &method_name, );