fix: silent NWC auto-payment failure messaging in invoice.created fallback #46
Reference in New Issue
Block a user
Delete Branch "userAdityaa/caravel:silent-failure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR fixes issue #38 where NWC auto-payment failures were saved internally but users only received a generic manual-payment DM.
Now the fallback DM includes a short sanitized NWC failure reason, while the full error is still stored in
tenant.nwc_error.Problem
When NWC auto-payment failed in
invoice.created, the system settenant.nwc_errorbut did not expose the failure context in the user DM.What changed
invoice.createdhandling to carry NWC failure context into the fallback DM.tenant.nwc_error.427ef7c86cto45ffee16ef