diff --git a/src/app/api/webhook/route.js b/src/app/api/webhook/route.js index 8f96fcc..32b4457 100644 --- a/src/app/api/webhook/route.js +++ b/src/app/api/webhook/route.js @@ -37,7 +37,7 @@ export async function POST(req) { try { evt = wh.verify(payload, headers); } catch (err) { - console.log('Invalid webhook signature'); + console.error('Invalid webhook signature', err); return NextResponse.json( { message: 'Invalid webhook signature' }, { status: 400 }