disable sentry for a bit; most errors are 404s anyway

This commit is contained in:
Sam 2023-04-17 23:10:59 +02:00
parent 7a550dc624
commit e8f502073d
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 2 additions and 2 deletions

View File

@ -7,11 +7,11 @@ Sentry.init({ dsn: PRIVATE_SENTRY_DSN });
export const handleError = (({ error, event }) => { export const handleError = (({ error, event }) => {
console.log(error); console.log(error);
console.log(event); console.log(event);
const id = Sentry.captureException(error); // const id = Sentry.captureException(error);
return { return {
message: "Internal server error", message: "Internal server error",
code: 500, code: 500,
id, //id,
}; };
}) satisfies HandleServerError; }) satisfies HandleServerError;