diff options
author | Jenny Pollack <jennypollack3@gmail.com> | 2018-08-10 04:49:40 +0800 |
---|---|---|
committer | Jenny Pollack <jennypollack3@gmail.com> | 2018-08-10 04:49:40 +0800 |
commit | 00a2ab21aecefa9cc4f688782867fc25fedd6ad4 (patch) | |
tree | 8ca6f3dddf851402a2ca611172376207926225df | |
parent | 2b25902561a663b4833ec5879100cc317f5e3e99 (diff) | |
download | tangerine-wallet-browser-00a2ab21aecefa9cc4f688782867fc25fedd6ad4.tar.gz tangerine-wallet-browser-00a2ab21aecefa9cc4f688782867fc25fedd6ad4.tar.zst tangerine-wallet-browser-00a2ab21aecefa9cc4f688782867fc25fedd6ad4.zip |
sentry - change releaseVersion to release
-rw-r--r-- | app/scripts/background.js | 4 | ||||
-rw-r--r-- | app/scripts/lib/setupRaven.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 7eb7b1255..3d3afdd4e 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -44,8 +44,8 @@ const notificationManager = new NotificationManager() global.METAMASK_NOTIFIER = notificationManager // setup sentry error reporting -const releaseVersion = platform.getVersion() -const raven = setupRaven({ releaseVersion }) +const release = platform.getVersion() +const raven = setupRaven({ release }) // browser check if it is Edge - https://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser // Internet Explorer 6-11 diff --git a/app/scripts/lib/setupRaven.js b/app/scripts/lib/setupRaven.js index e657e278f..3651524f1 100644 --- a/app/scripts/lib/setupRaven.js +++ b/app/scripts/lib/setupRaven.js @@ -8,7 +8,7 @@ module.exports = setupRaven // Setup raven / sentry remote error reporting function setupRaven (opts) { - const { releaseVersion } = opts + const { release } = opts let ravenTarget // detect brave const isBrave = Boolean(window.chrome.ipcRenderer) @@ -22,7 +22,7 @@ function setupRaven (opts) { } const client = Raven.config(ravenTarget, { - releaseVersion, + release, transport: function (opts) { opts.data.extra.isBrave = isBrave const report = opts.data |