Commit 64a095b6 authored by Anton's avatar Anton

Add sentry vue integration

parent 5c681bfd
Pipeline #26078 passed with stage
in 2 minutes and 31 seconds
......@@ -2166,6 +2166,73 @@
"integrity": "sha1-FPzHEqUwA475vhzmlSMVqDn0Zqg=",
"dev": true
},
"@sentry/browser": {
"version": "5.9.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.9.0.tgz",
"integrity": "sha512-KTpmAau98QyJZtoV7LVYEFd1cdKQGk5yHlRyP3pCkhDcRbgicBNR3umdRDpsI5Ozgix3zNlyQprz0iQPmrPNRQ==",
"requires": {
"@sentry/core": "5.8.0",
"@sentry/types": "5.7.1",
"@sentry/utils": "5.8.0",
"tslib": "^1.9.3"
}
},
"@sentry/core": {
"version": "5.8.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.8.0.tgz",
"integrity": "sha512-aAh2KLidIXJVGrxmHSVq2eVKbu7tZiYn5ylW6yzJXFetS5z4MA+JYaSBaG2inVYDEEqqMIkb17TyWxxziUDieg==",
"requires": {
"@sentry/hub": "5.8.0",
"@sentry/minimal": "5.8.0",
"@sentry/types": "5.7.1",
"@sentry/utils": "5.8.0",
"tslib": "^1.9.3"
}
},
"@sentry/hub": {
"version": "5.8.0",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.8.0.tgz",
"integrity": "sha512-VdApn1ZCNwH1wwQwoO6pu53PM/qgHG+DQege0hbByluImpLBhAj9w50nXnF/8KzV4UoMIVbzCb6jXzMRmqqp9A==",
"requires": {
"@sentry/types": "5.7.1",
"@sentry/utils": "5.8.0",
"tslib": "^1.9.3"
}
},
"@sentry/integrations": {
"version": "5.8.0",
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-5.8.0.tgz",
"integrity": "sha512-Obe3GqTtq63PAJ4opYEbeZ6Bm8uw+CND+7MywJLDguqnvIVRvxpcJIZ6wxcE/VjbU3OMkNmTMnM+ra8RB7Wj6w==",
"requires": {
"@sentry/types": "5.7.1",
"@sentry/utils": "5.8.0",
"tslib": "^1.9.3"
}
},
"@sentry/minimal": {
"version": "5.8.0",
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.8.0.tgz",
"integrity": "sha512-MIlFOgd+JvAUrBBmq7vr9ovRH1HvckhnwzHdoUPpKRBN+rQgTyZy1o6+kA2fASCbrRqFCP+Zk7EHMACKg8DpIw==",
"requires": {
"@sentry/hub": "5.8.0",
"@sentry/types": "5.7.1",
"tslib": "^1.9.3"
}
},
"@sentry/types": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.7.1.tgz",
"integrity": "sha512-tbUnTYlSliXvnou5D4C8Zr+7/wJrHLbpYX1YkLXuIJRU0NSi81bHMroAuHWILcQKWhVjaV/HZzr7Y/hhWtbXVQ=="
},
"@sentry/utils": {
"version": "5.8.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.8.0.tgz",
"integrity": "sha512-KDxUvBSYi0/dHMdunbxAxD3389pcQioLtcO6CI6zt/nJXeVFolix66cRraeQvqupdLhvOk/el649W4fCPayTHw==",
"requires": {
"@sentry/types": "5.7.1",
"tslib": "^1.9.3"
}
},
"@sindresorhus/is": {
"version": "0.14.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
......@@ -15970,8 +16037,7 @@
"tslib": {
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",
"dev": true
"integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ=="
},
"tsml": {
"version": "1.0.1",
......
......@@ -42,6 +42,8 @@
]
},
"dependencies": {
"@sentry/browser": "^5.9.0",
"@sentry/integrations": "^5.8.0",
"auth0-js": "9.8.2",
"axios": "^0.18.1",
"bluebird": "3.5.3",
......
......@@ -5,6 +5,7 @@ module.exports = function (ctx) {
return {
// app plugins (/src/plugins)
plugins: [
'sentry',
'raven',
'api',
'auth',
......
import * as Sentry from '@sentry/browser'
import * as Integrations from '@sentry/integrations'
export default ({ Vue }) => {
if (process.env.SENTRY_DSN) {
Sentry.init({
dsn: process.env.SENTRY_DSN,
integrations: [new Integrations.Vue({Vue, attachProps: true})]
})
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment