Merge pull request #3290 from nspcc-dev/ntr-log

services: improve notary service logging
This commit is contained in:
Roman Khimov 2024-01-12 13:23:00 +03:00 committed by GitHub
commit d428cfc4f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}