Skip to content

Commit fd19c36

Browse files
author
Ari
committed
Change logErrors to only be true in dev env
1 parent 759c086 commit fd19c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Sentry.init({
4444
new Integrations.Vue({
4545
Vue,
4646
attachProps: true,
47-
logErrors: true
47+
logErrors: !process.env.NODE_ENV === 'production' // Only log errors in dev env
4848
})
4949
]
5050
})

0 commit comments

Comments
 (0)