We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e40e5f commit ae23e73Copy full SHA for ae23e73
lightning/src/ln/channelmanager.rs
@@ -4185,10 +4185,15 @@ where
4185
err: format!("Channel with id {} for the passed counterparty node_id {} is still opening.",
4186
next_hop_channel_id, next_node_id)
4187
}),
4188
- None => return Err(APIError::ChannelUnavailable {
4189
- err: format!("Channel with id {} not found for the passed counterparty node_id {}",
4190
- next_hop_channel_id, next_node_id)
4191
- })
+ None => {
+ let error = format!("Channel with id {} not found for the passed counterparty node_id {}",
+ next_hop_channel_id, next_node_id);
+ // Log the Error
4192
+ log_error!(self.logger, "{}", error);
4193
+ return Err(APIError::ChannelUnavailable {
4194
+ err: error
4195
+ })
4196
+ }
4197
}
4198
};
4199
0 commit comments