|
@@ -4,10 +4,6 @@ import { appVersionCode } from '@/http/configAPI.js'
|
|
|
|
|
|
class CoutomSentry {
|
|
class CoutomSentry {
|
|
initVue(app) {
|
|
initVue(app) {
|
|
- if (process.env.NODE_ENV != 'production') {
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
Sentry.init({
|
|
Sentry.init({
|
|
app,
|
|
app,
|
|
dsn: "https://529fc1c357b248eda7473c119093f5db@sentry.piaoquantv.com/5",
|
|
dsn: "https://529fc1c357b248eda7473c119093f5db@sentry.piaoquantv.com/5",
|
|
@@ -21,7 +17,7 @@ class CoutomSentry {
|
|
// of transactions for performance monitoring.
|
|
// of transactions for performance monitoring.
|
|
// We recommend adjusting this value in production
|
|
// We recommend adjusting this value in production
|
|
tracesSampleRate: 1.0,
|
|
tracesSampleRate: 1.0,
|
|
- release: appVersionCode,
|
|
|
|
|
|
+ release: process.env.NODE_ENV + appVersionCode,
|
|
logErrors: true
|
|
logErrors: true
|
|
});
|
|
});
|
|
}
|
|
}
|