diff --git a/api/paidAction/index.js b/api/paidAction/index.js index 63d22988..e18ec8ee 100644 --- a/api/paidAction/index.js +++ b/api/paidAction/index.js @@ -190,7 +190,7 @@ export async function retryPaidAction (actionType, args, context) { const failedInvoice = await models.invoice.findUnique({ where: { id: invoiceId, actionState: 'FAILED' } }) if (!failedInvoice) { - throw new Error(`retryPaidAction - invoice not found or not in failed state ${actionType}`) + throw new Error(`retryPaidAction ${actionType} - invoice ${invoiceId} not found or not in failed state`) } const { msatsRequested, actionId } = failedInvoice