mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-21 14:04:06 +01:00
chainntnfs/bitcoindnotify: improve historical conf dispatch logging
This commit is contained in:
parent
7a08825b1e
commit
90ffc4a0ab
1 changed files with 11 additions and 2 deletions
|
@ -228,7 +228,13 @@ out:
|
|||
msg.StartHeight, msg.EndHeight,
|
||||
)
|
||||
if err != nil {
|
||||
chainntnfs.Log.Error(err)
|
||||
chainntnfs.Log.Errorf("Rescan to "+
|
||||
"determine the conf "+
|
||||
"details of %v within "+
|
||||
"range %d-%d failed: %v",
|
||||
msg.ConfRequest,
|
||||
msg.StartHeight,
|
||||
msg.EndHeight, err)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -243,7 +249,10 @@ out:
|
|||
msg.ConfRequest, confDetails,
|
||||
)
|
||||
if err != nil {
|
||||
chainntnfs.Log.Error(err)
|
||||
chainntnfs.Log.Errorf("Unable "+
|
||||
"to update conf "+
|
||||
"details of %v: %v",
|
||||
msg.ConfRequest, err)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue