mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 11:03:49 +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;
|
||||
}
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user