services: improve notary service logging
Let the user know whether it's main or fallback transaction that failed to be relayed to the network. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
d901697615
commit
ef9f75547a
1 changed files with 3 additions and 1 deletions
|
@ -480,7 +480,9 @@ func (n *Notary) newTxCallbackLoop() {
|
|||
n.reqMtx.Unlock()
|
||||
err := n.onTransaction(tx.tx)
|
||||
if err != nil {
|
||||
n.Config.Log.Error("new transaction callback finished with error", zap.Error(err))
|
||||
n.Config.Log.Error("new transaction callback finished with error",
|
||||
zap.Error(err),
|
||||
zap.Bool("is main", isMain))
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue