Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Nov 14, 2024
1 parent 0223c9e commit 952d705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/paidAction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default async function performPaidAction (actionType, args, { ...context
}
} catch (e) {
console.error('performPaidAction failed with internal payment method', e)
// if we fail for reasons unrelated to balance, we should throw to fail the mutation
// if we fail for reasons unrelated to balance, we should throw to fail the action
if (!e.message.includes('\\"users\\" violates check constraint \\"msats_positive\\"')) {
throw e
}
Expand Down

0 comments on commit 952d705

Please sign in to comment.