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;
3535use  crate :: events; 
3636use  crate :: events:: { Event ,  EventHandler } ; 
3737use  crate :: util:: atomic_counter:: AtomicCounter ; 
38- use  crate :: util:: logger:: Logger ; 
38+ use  crate :: util:: logger:: { Logger ,   WithContext } ; 
3939use  crate :: util:: errors:: APIError ; 
4040use  crate :: util:: wakers:: { Future ,  Notifier } ; 
4141use  crate :: ln:: channelmanager:: ChannelDetails ; 
@@ -757,7 +757,8 @@ where C::Target: chain::Filter,
757757		let  monitors = self . monitors . read ( ) . unwrap ( ) ; 
758758		match  monitors. get ( & funding_txo)  { 
759759			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" ) ; 
761762
762763				// We should never ever trigger this from within ChannelManager. Technically a 
763764				// 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