From fed548bd0c461eac29f4737932887daed8b7fec8 Mon Sep 17 00:00:00 2001 From: hexbabe Date: Mon, 25 Sep 2023 14:08:35 -0400 Subject: [PATCH] Changed error to be regularly formatted instead of debug formatted for more informative error about timeout --- src/ffi/dial_ffi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ffi/dial_ffi.rs b/src/ffi/dial_ffi.rs index 75ea965..45269c7 100644 --- a/src/ffi/dial_ffi.rs +++ b/src/ffi/dial_ffi.rs @@ -6,7 +6,7 @@ use http::uri::Uri; use std::{ptr, time::Duration}; -use tokio::{runtime::Runtime, time::error::Elapsed}; +use tokio::runtime::Runtime; use tokio::sync::oneshot; use tokio::time::timeout; use tracing::Level; @@ -252,7 +252,7 @@ pub unsafe extern "C" fn dial( }) { Ok(s) => s, Err(e) => { - log::error!("Error building GRPC proxy reason : {:?}\n{}", e, e); + log::error!("Error building GRPC proxy reason : {}", e); return ptr::null_mut(); } };