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

View file

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