File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ use crate::sign::ecdsa::WriteableEcdsaChannelSigner;
35
35
use crate :: events;
36
36
use crate :: events:: { Event , EventHandler } ;
37
37
use crate :: util:: atomic_counter:: AtomicCounter ;
38
- use crate :: util:: logger:: Logger ;
38
+ use crate :: util:: logger:: { Logger , WithContext } ;
39
39
use crate :: util:: errors:: APIError ;
40
40
use crate :: util:: wakers:: { Future , Notifier } ;
41
41
use crate :: ln:: channelmanager:: ChannelDetails ;
@@ -757,7 +757,8 @@ where C::Target: chain::Filter,
757
757
let monitors = self . monitors . read ( ) . unwrap ( ) ;
758
758
match monitors. get ( & funding_txo) {
759
759
None => {
760
- log_error ! ( self . logger, "Failed to update channel monitor: no such monitor registered" ) ;
760
+ let logger = WithContext :: from ( & self . logger , update. counterparty_node_id , Some ( funding_txo. to_channel_id ( ) ) ) ;
761
+ log_error ! ( logger, "Failed to update channel monitor: no such monitor registered" ) ;
761
762
762
763
// We should never ever trigger this from within ChannelManager. Technically a
763
764
// user could use this object with some proxying in between which makes this
You can’t perform that action at this time.
0 commit comments