Skip to content

Commit 759c086

Browse files
author
Ari
committed
Add Sentry prod and dev DSNs
1 parent 168420d commit 759c086

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

src/main.js

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,21 @@ if (process.env.NODE_ENV === 'production') {
3434
screenview: true
3535
}
3636
})
37-
Sentry.init({
38-
dsn: '',
39-
integrations: [
40-
new Integrations.Vue({
41-
Vue,
42-
attachProps: true,
43-
logErrors: true
44-
})
45-
]
46-
})
4737
}
4838

39+
Sentry.init({
40+
dsn: process.env.NODE_ENV === 'production'
41+
? 'https://8c09726e231d4cf780c541f40d3639a9@sentry.io/3009295' // cc-chooser-prod project
42+
: 'https://ab63acb8c1464466869182dd53c7046d@sentry.io/3009597', // cc-chooser-dev project
43+
integrations: [
44+
new Integrations.Vue({
45+
Vue,
46+
attachProps: true,
47+
logErrors: true
48+
})
49+
]
50+
})
51+
4952
new Vue({
5053
store,
5154
i18n,

0 commit comments

Comments
 (0)