mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
Merge pull request #3290 from nspcc-dev/ntr-log
services: improve notary service logging
This commit is contained in:
commit
d428cfc4f1
1 changed files with 3 additions and 1 deletions
|
@ -480,7 +480,9 @@ func (n *Notary) newTxCallbackLoop() {
|
||||||
n.reqMtx.Unlock()
|
n.reqMtx.Unlock()
|
||||||
err := n.onTransaction(tx.tx)
|
err := n.onTransaction(tx.tx)
|
||||||
if err != nil {
|
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
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue