Skip to content

Commit 72f389c

Browse files
committed
remove string interpolation
1 parent a213722 commit 72f389c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tasks/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl BlockBuilder {
134134
}
135135
}
136136
Err(e) => {
137-
tracing::error!("error polling transactions: {:?}", e);
137+
tracing::error!(error = %e, "error polling transactions");
138138
}
139139
}
140140
self.tx_poller.evict();
@@ -149,7 +149,7 @@ impl BlockBuilder {
149149
}
150150
}
151151
Err(e) => {
152-
tracing::error!("error polling bundles: {:?}", e);
152+
tracing::error!(error = %e, "error polling bundles");
153153
}
154154
}
155155
self.bundle_poller.evict();

0 commit comments

Comments
 (0)