This commit is contained in:
minibits-cash
2025-06-17 10:14:57 +02:00
parent ea36fe231a
commit 3ab2dd32b0
+7 -1
View File
@@ -433,7 +433,13 @@ export const receiveByCashuPaymentRequestTask = async function (
throw new AppError(
Err.VALIDATION_ERROR,
'Related Payment request has different amount or unit than the incoming payment.',
{paymentRequestPayload, expctedUnit: transaction.unit, expectedAmount: transaction.amount}
{
expectedUnit: transaction.unit,
expectedAmount: transaction.amount,
amountToReceive, unit,
paymentRequestId,
caller: 'receiveByCashuPaymentRequestTask'
}
)
}