Skip to content

Commit

Permalink
Disable sentry until getsentry/sentry-cli#1849 is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
joshnuss committed Dec 20, 2023
1 parent 7cad79e commit de6b1cd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
2 changes: 2 additions & 0 deletions src/hooks.client.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*
import { handleErrorWithSentry, Replay } from "@sentry/sveltekit";
import * as Sentry from '@sentry/sveltekit';
import { PUBLIC_SENTRY_DSN } from '$env/static/public'
Expand All @@ -22,3 +23,4 @@ Sentry.init({
// If you have a custom error handler, pass it to `handleErrorWithSentry`
export const handleError = handleErrorWithSentry();
*/
2 changes: 2 additions & 0 deletions src/hooks.server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*
import { sequence } from "@sveltejs/kit/hooks";
import { handleErrorWithSentry, sentryHandle } from "@sentry/sveltekit";
import * as Sentry from '@sentry/sveltekit';
Expand All @@ -15,3 +16,4 @@ export const handle = sequence(sentryHandle());
// If you have a custom error handler, pass it to `handleErrorWithSentry`
export const handleError = handleErrorWithSentry();
*/
21 changes: 13 additions & 8 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import { sentrySvelteKit } from "@sentry/sveltekit";
//import { sentrySvelteKit } from "@sentry/sveltekit"
import { sveltekit } from '@sveltejs/kit/vite'
import { defineConfig } from 'vite'

export default defineConfig({
plugins: [sentrySvelteKit({
sourceMapsUploadOptions: {
org: "centerasystems",
project: "hypersonic"
}
}), sveltekit()]
})
plugins: [
/*
sentrySvelteKit({
sourceMapsUploadOptions: {
org: "centerasystems",
project: "hypersonic"
}
}),
*/
sveltekit()
]
})

0 comments on commit de6b1cd

Please sign in to comment.