Skip to content

Commit

Permalink
feat(tjs): add logging for 500 error
Browse files Browse the repository at this point in the history
  • Loading branch information
jbranchaud authored and kodiakhq[bot] committed Mar 13, 2024
1 parent 94a63b8 commit 27f3dbc
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -63,6 +63,8 @@ export async function receiveInternalStripeWebhooks({
paymentOptions: _paymentOptions,
})
} catch (error: any) {
console.log(`webhook/stripe-internal error: ${error.message}`)

return {
status: 500,
body: {error: true, message: error.message},
Expand Down

0 comments on commit 27f3dbc

Please sign in to comment.