🎨 Logging
This commit is contained in:
parent
b0e9c1c8dd
commit
129ceada9b
1 changed files with 2 additions and 1 deletions
|
@ -117,7 +117,8 @@ func flushTx(tx *Transaction) {
|
|||
case TxErrCodeDataIsSyncing:
|
||||
util.PushErrMsg(Conf.Language(81), 5000)
|
||||
default:
|
||||
logging.LogFatalf(logging.ExitCodeFatal, "transaction failed: %s", txErr.msg)
|
||||
txData, _ := gulu.JSON.MarshalJSON(tx)
|
||||
logging.LogFatalf(logging.ExitCodeFatal, "transaction failed [%d]: %s\n tx [%s]", txErr.code, txErr.msg, txData)
|
||||
}
|
||||
}
|
||||
elapsed := time.Now().Sub(start).Milliseconds()
|
||||
|
|
Loading…
Add table
Reference in a new issue