disable sentry for a bit; most errors are 404s anyway
This commit is contained in:
parent
7a550dc624
commit
e8f502073d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue