Verified Commit 07aafa19 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Add Sentry error logging (Resolves #1)

parent ec9cfd1d
Pipeline #58649 passed with stages
in 10 minutes and 17 seconds
......@@ -126,6 +126,14 @@ module.exports = {
policy: [{ userAgent: '*', allow: '/' }],
},
},
{
resolve: 'gatsby-plugin-sentry',
options: {
dsn: 'https://2587ab815d444590aee3adb260bde07d@sentry.amiv.ethz.ch/4',
environment: activeEnv,
enabled: (() => ['production', 'preview'].indexOf(activeEnv) !== -1)(),
},
},
{
resolve: `gatsby-plugin-webpack-bundle-analyser-v2`,
options: {
......
......@@ -2768,6 +2768,63 @@
"react-lifecycles-compat": "^3.0.4"
}
},
"@sentry/browser": {
"version": "5.13.0",
"resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-5.13.0.tgz",
"integrity": "sha512-adiW9gG/gCrl6FQAA6Fk8osXMHxP3pYltszRK0mr55O7GcTC8RQNI3mEW/YuQV9IySUL8dFWQ0v8n0lfssHf/A==",
"requires": {
"@sentry/core": "5.13.0",
"@sentry/types": "5.12.4",
"@sentry/utils": "5.13.0",
"tslib": "^1.9.3"
}
},
"@sentry/core": {
"version": "5.13.0",
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.13.0.tgz",
"integrity": "sha512-e0olbaHBmANO1RIBc7xynSkBZ6BsK7drycz0TawLUnx+0H3aEau3K9U2QVdbjwLNPdydcIS+UgYfTBtXfe0E+A==",
"requires": {
"@sentry/hub": "5.13.0",
"@sentry/minimal": "5.13.0",
"@sentry/types": "5.12.4",
"@sentry/utils": "5.13.0",
"tslib": "^1.9.3"
}
},
"@sentry/hub": {
"version": "5.13.0",
"resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.13.0.tgz",
"integrity": "sha512-MeytooJ5g91zxq4/LU1LHj7KxpggAEn1dybEsWG31QVy67J4a40zIGfYgGGIVAFSv0WVlk5Ei5C159LhgW59/w==",
"requires": {
"@sentry/types": "5.12.4",
"@sentry/utils": "5.13.0",
"tslib": "^1.9.3"
}
},
"@sentry/minimal": {
"version": "5.13.0",
"resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.13.0.tgz",
"integrity": "sha512-6D2Mu4TrmJmGlvb+z1Pp6yI2fUmdY1RvwK0MqmBP+QJdrd0as7cpGuwFSXgUs6CLUflDzlpn3n6WcgGV8oEDYA==",
"requires": {
"@sentry/hub": "5.13.0",
"@sentry/types": "5.12.4",
"tslib": "^1.9.3"
}
},
"@sentry/types": {
"version": "5.12.4",
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.12.4.tgz",
"integrity": "sha512-JoN3YIp7Z+uxUZArj2B6NcEoXFQDhd0kqO0QpfiHZyg4Dhx2/E2aHuVx0H6Fndk+60iEZSECaCBXe2MOPo4fqA=="
},
"@sentry/utils": {
"version": "5.13.0",
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.13.0.tgz",
"integrity": "sha512-BcmNQN+IfFbVWGnEwXHku69zqJc97sjBRYVxpStKMaO/4aLVIQcOJCMWxVJtVoSVAHQaigBZmFutWH7EJMRJxg==",
"requires": {
"@sentry/types": "5.12.4",
"tslib": "^1.9.3"
}
},
"@sindresorhus/is": {
"version": "0.14.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
......@@ -9659,6 +9716,14 @@
"generate-robotstxt": "^7.1.0"
}
},
"gatsby-plugin-sentry": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/gatsby-plugin-sentry/-/gatsby-plugin-sentry-1.0.1.tgz",
"integrity": "sha512-rKIngbFbBwwGYJi1ayUtEz34tXxpLXvSMD3WWVmdtXs0wrYrlGs30nFJ4JJIxcA7fWtx3hQ2yd5O2ZyQ832G2g==",
"requires": {
"@sentry/browser": "^5.13.0"
}
},
"gatsby-plugin-sharp": {
"version": "2.4.5",
"resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.4.5.tgz",
......
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