Skip to content

Commit

Permalink
fix: transaction trace in debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Jul 8, 2024
1 parent 27b0096 commit f5453e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/contracts/txmonitor/txmonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,12 +365,12 @@ func (m *Monitor) check(ctx context.Context, newBlock uint64, lastNonce uint64)
"txHash", txHashes[start+i],
)
} else {
m.logger.Error("transaction failed",
m.logger.Debug("transaction failed",
"transaction_trace", tt,
"txHash", txHashes[start+i],
)
}
m.logger.Error("failed to get receipt", "error", r.Err, "transaction_trace", tt)
m.logger.Error("failed to get receipt", "error", r.Err)
m.notify(nonce, txHashes[start+i], Result{r.Receipt, ErrTxnFailed})
continue
}
Expand Down

0 comments on commit f5453e3

Please sign in to comment.