Skip to content

Commit 079d9cb

Browse files
committed
f - Reword log message
1 parent b98b290 commit 079d9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-invoice/src/payment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ where
269269
if *rejected_by_dest {
270270
log_trace!(self.logger, "Payment {} rejected by destination; not retrying (attempts: {})", log_bytes!(payment_hash.0), attempts);
271271
} else if *attempts == max_payment_attempts {
272-
log_trace!(self.logger, "Payment {} failed; not retrying (attempts: {})", log_bytes!(payment_hash.0), attempts);
272+
log_trace!(self.logger, "Payment {} exceeded maximum attempts; not retrying (attempts: {})", log_bytes!(payment_hash.0), attempts);
273273
} else if self.pay_cached_invoice(invoice).is_err() {
274274
log_trace!(self.logger, "Error retrying payment {}; not retrying (attempts: {})", log_bytes!(payment_hash.0), attempts);
275275
} else {

0 commit comments

Comments
 (0)