Skip to content

Commit 4c1f2a2

Browse files
fix: disable sentry in dev environment
1 parent 424d0ff commit 4c1f2a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/sentry.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { defineNuxtPlugin } from 'nuxt/app'
44
export default defineNuxtPlugin({
55
enforce: 'pre',
66
setup(nuxt) {
7-
if (!process.dev) return
7+
if (process.dev) return
88

99
const dsn = useRuntimeConfig().public.sentry?.dsn
1010
const { client } = useAppConfig().sentry

0 commit comments

Comments
 (0)