Skip to content

Commit

Permalink
Changed error to be regularly formatted instead of debug formatted fo…
Browse files Browse the repository at this point in the history
…r more informative error about timeout
  • Loading branch information
hexbabe committed Sep 25, 2023
1 parent 7ee718b commit fed548b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ffi/dial_ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
};
Expand Down

0 comments on commit fed548b

Please sign in to comment.