Skip to content

Commit 88ea9c0

Browse files
committed
make the error message more verbose
1 parent 93c3fa2 commit 88ea9c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/pyth-lazer-agent/src/jrpc_handle.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use soketto::handshake::http::Server;
1414
use std::str::FromStr;
1515
use tokio::{pin, select};
1616
use tokio_util::compat::TokioAsyncReadCompatExt;
17-
use tracing::{debug, instrument};
17+
use tracing::{debug, error, instrument};
1818
use url::Url;
1919

2020
const DEFAULT_HISTORY_SERVICE_URL: &str =
@@ -156,7 +156,7 @@ async fn handle_jrpc_inner<T: AsyncRead + AsyncWrite + Unpin>(
156156
.await?;
157157
}
158158
Err(err) => {
159-
debug!("error while retrieving metadata: {:?}", err);
159+
error!("error while retrieving metadata: {:?}", err);
160160
send_text(
161161
sender,
162162
serde_json::to_string::<JrpcResponse<()>>(&JrpcResponse::Error(

0 commit comments

Comments
 (0)