fix(#14): Replace throw with error log

This commit is contained in:
Josh Creek
2024-07-05 15:37:08 +01:00
parent 37a8062c75
commit 67fcf8ea38
+1 -1
View File
@@ -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