Skip to content

Commit afe7481

Browse files
committed
f - add log on PathParameterError
1 parent 4fbb056 commit afe7481

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/outbound_payment.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ impl OutboundPayments {
764764
// initial HTLC-Add messages yet.
765765
},
766766
PaymentSendFailure::PathParameterError(results) => {
767+
log_error!(logger, "Failed to send to route due to parameter error in a single path. Your router is buggy");
767768
Self::push_path_failed_evs_and_scids(payment_id, payment_hash, &mut route_params, route.paths, results.into_iter(), pending_events);
768769
self.abandon_payment(payment_id, PaymentFailureReason::UnexpectedError, pending_events);
769770
},

0 commit comments

Comments
 (0)