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 @@ -4186,10 +4186,14 @@ where
4186
4186
err: format!("Channel with id {} for the passed counterparty node_id {} is still opening.",
4187
4187
next_hop_channel_id, next_node_id)
4188
4188
}),
4189
- None => return Err(APIError::ChannelUnavailable {
4190
- err: format!("Channel with id {} not found for the passed counterparty node_id {}",
4191
- next_hop_channel_id, next_node_id)
4192
- })
4189
+ None => {
4190
+ let error = format!("Channel with id {} not found for the passed counterparty node_id {}",
4191
+ next_hop_channel_id, next_node_id);
4192
+ log_error!(self.logger, "{} when attempting to forward intercepted HTLC", error);
4193
+ return Err(APIError::ChannelUnavailable {
4194
+ err: error
4195
+ })
4196
+ }
4193
4197
}
4194
4198
};
4195
4199
You can’t perform that action at this time.
0 commit comments