diff options
author | André Oliveira <oliveira.andrerodrigues95@gmail.com> | 2022-12-15 08:40:09 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-12-15 09:04:58 +0530 |
commit | be7b1b43f51afcebe09971224a5a4a2b62f8313f (patch) | |
tree | f478c00029722d6912a1bff6d3e8486f0768045b /src | |
parent | 6.2.3-nightly.6 [skip ci] (diff) | |
download | ferdium-app-be7b1b43f51afcebe09971224a5a4a2b62f8313f.tar.gz ferdium-app-be7b1b43f51afcebe09971224a5a4a2b62f8313f.tar.zst ferdium-app-be7b1b43f51afcebe09971224a5a4a2b62f8313f.zip |
Fix #814 temporarily by disabling sentry
Diffstat (limited to 'src')
-rw-r--r-- | src/index.html | 4 | ||||
-rw-r--r-- | src/index.ts | 9 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/index.html b/src/index.html index 8a1c19e28..67dfac1b7 100644 --- a/src/index.html +++ b/src/index.html | |||
@@ -26,8 +26,8 @@ | |||
26 | .classList.add( | 26 | .classList.add( |
27 | process.env.OS_PLATFORM ? process.env.OS_PLATFORM : process.platform, | 27 | process.env.OS_PLATFORM ? process.env.OS_PLATFORM : process.platform, |
28 | ); | 28 | ); |
29 | 29 | <!-- TODO: Commenting out sentry to fix https://github.com/ferdium/ferdium-app/issues/814 | |
30 | require('./sentry'); | 30 | require('./sentry'); --> |
31 | const { isDevMode } = require('./environment-remote'); | 31 | const { isDevMode } = require('./environment-remote'); |
32 | if (isDevMode) { | 32 | if (isDevMode) { |
33 | // Here we must access `debug` directly (instead of through `preload-safe-debug`), | 33 | // Here we must access `debug` directly (instead of through `preload-safe-debug`), |
diff --git a/src/index.ts b/src/index.ts index ac166c5f1..08e81a2a8 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -93,10 +93,11 @@ const proxySettings = new Settings('proxy'); | |||
93 | const retrieveSettingValue = (key: string, defaultValue: boolean | string) => | 93 | const retrieveSettingValue = (key: string, defaultValue: boolean | string) => |
94 | ifUndefined<boolean | string>(settings.get(key), defaultValue); | 94 | ifUndefined<boolean | string>(settings.get(key), defaultValue); |
95 | 95 | ||
96 | if (retrieveSettingValue('sentry', DEFAULT_APP_SETTINGS.sentry)) { | 96 | // TODO: Commenting out sentry to fix https://github.com/ferdium/ferdium-app/issues/814 |
97 | // eslint-disable-next-line global-require | 97 | // if (retrieveSettingValue('sentry', DEFAULT_APP_SETTINGS.sentry)) { |
98 | require('./sentry'); | 98 | // // eslint-disable-next-line global-require |
99 | } | 99 | // require('./sentry'); |
100 | // } | ||
100 | 101 | ||
101 | const liftSingleInstanceLock = retrieveSettingValue( | 102 | const liftSingleInstanceLock = retrieveSettingValue( |
102 | 'liftSingleInstanceLock', | 103 | 'liftSingleInstanceLock', |