Skip to content

Commit 3fb79cf

Browse files
committed
Truncate query output on query_node
1 parent f0958d7 commit 3fb79cf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

linera-service/src/cli_wrappers/wallet.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,10 @@ impl NodeService {
12811281
.send()
12821282
.await;
12831283
if matches!(result, Err(ref error) if error.is_timeout()) {
1284-
warn!("Timeout when sending query {query:?} to the node service");
1284+
warn!(
1285+
"Timeout when sending query {} to the node service",
1286+
truncate_query_output(query)
1287+
);
12851288
continue;
12861289
}
12871290
let response = result.with_context(|| {

0 commit comments

Comments
 (0)