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
Signed by: sam
GPG key ID: B4EF20DDE721CAA1

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;