File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -4185,10 +4185,14 @@ where
41854185 err: format!("Channel with id {} for the passed counterparty node_id {} is still opening.",
41864186 next_hop_channel_id, next_node_id)
41874187 }),
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- })
4188+ None => {
4189+ let error = format!("Channel with id {} not found for the passed counterparty node_id {}",
4190+ next_hop_channel_id, next_node_id);
4191+ log_error!(self.logger, "{} when attempting to forward intercepted HTLC", error);
4192+ return Err(APIError::ChannelUnavailable {
4193+ err: error
4194+ })
4195+ }
41924196 }
41934197 };
41944198
You can’t perform that action at this time.
0 commit comments