Skip to content

Commit 6c229fe

Browse files
committed
[td] emphasize errors due to user transactions (#24413)
## Description Make it more obvious that the error is not due to operator actions. ## Test plan CI
1 parent 53dc022 commit 6c229fe

File tree

1 file changed

+3
-3
lines changed
  • crates/sui-core/src/transaction_driver

1 file changed

+3
-3
lines changed

crates/sui-core/src/transaction_driver/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ where
219219
.observe(attempts as f64);
220220
if request.transaction.is_some() {
221221
tracing::info!(
222-
"Failed to finalize transaction with non-retriable error after {} attempts: {}",
222+
"User transaction failed to finalize (attempt {}), with non-retriable error: {}",
223223
attempts,
224224
e
225225
);
@@ -228,7 +228,7 @@ where
228228
}
229229
if request.transaction.is_some() {
230230
tracing::info!(
231-
"Failed to finalize transaction (attempt {}): {}. Retrying ...",
231+
"User transaction failed to finalize (attempt {}): {}. Retrying ...",
232232
attempts,
233233
e
234234
);
@@ -269,7 +269,7 @@ where
269269
};
270270
if request.transaction.is_some() {
271271
tracing::info!(
272-
"Transaction timed out after {} attempts. Last error: {}",
272+
"User transaction timed out after {} attempts. Last error: {}",
273273
attempts,
274274
e
275275
);

0 commit comments

Comments
 (0)