From ae9a433ca9eab9b34e830c492123685f10b132e6 Mon Sep 17 00:00:00 2001 From: "Pengfei(Andy) Zhang" Date: Tue, 29 Oct 2024 17:53:20 -0400 Subject: [PATCH] fix: change provider error to warning --- 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, );