From 0a085c159cf98b2cbaf05da56837bc1bc40e09ee Mon Sep 17 00:00:00 2001 From: Andre da Silva Date: Wed, 23 Oct 2024 13:44:34 -0300 Subject: [PATCH] Return WARN if blob_last_used_by returns an Err in validators --- linera-service/src/proxy/grpc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linera-service/src/proxy/grpc.rs b/linera-service/src/proxy/grpc.rs index 2e81e23e20f..0c73ea1f3d8 100644 --- a/linera-service/src/proxy/grpc.rs +++ b/linera-service/src/proxy/grpc.rs @@ -51,7 +51,7 @@ use tonic::{ Request, Response, Status, }; use tower::{builder::ServiceBuilder, Layer, Service}; -use tracing::{debug, info, instrument, Instrument as _}; +use tracing::{debug, info, instrument, Instrument as _, Level}; #[cfg(with_metrics)] use { linera_base::prometheus_util, @@ -512,7 +512,7 @@ where )?)) } - #[instrument(skip_all, err(Display))] + #[instrument(skip_all, err(level = Level::WARN))] async fn blob_last_used_by( &self, request: Request,