diff options
author | 2022-11-03 22:07:18 +0530 | |
---|---|---|
committer | 2022-11-03 22:07:18 +0530 | |
commit | bf1fc5f87d677a6aa1edea8cd32e03dc63dd97c1 (patch) | |
tree | ced23932b80bb53c7cc2473d63e4351654490b1c /src/index.ts | |
parent | fix: fix contextMenu not visible (diff) | |
download | ferdium-app-bf1fc5f87d677a6aa1edea8cd32e03dc63dd97c1.tar.gz ferdium-app-bf1fc5f87d677a6aa1edea8cd32e03dc63dd97c1.tar.zst ferdium-app-bf1fc5f87d677a6aa1edea8cd32e03dc63dd97c1.zip |
feat: bring sentry back (#736)
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts index 97c77d185..3233714e0 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -93,6 +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)) { | ||
97 | // eslint-disable-next-line global-require | ||
98 | require('./sentry'); | ||
99 | } | ||
100 | |||
96 | const liftSingleInstanceLock = retrieveSettingValue( | 101 | const liftSingleInstanceLock = retrieveSettingValue( |
97 | 'liftSingleInstanceLock', | 102 | 'liftSingleInstanceLock', |
98 | false, | 103 | false, |