mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-12 18:43:50 +00:00
fix(#14): Replace throw with error log
This commit is contained in:
@@ -78,7 +78,7 @@ export const POST: RequestHandler = async ({ request }) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
throw new Error(`Unhandled event type ${event.type}`);
|
console.error(`Unhandled event type ${event.type}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return a response to acknowledge receipt of the event
|
// Return a response to acknowledge receipt of the event
|
||||||
|
|||||||
Reference in New Issue
Block a user