aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
authorLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-31 14:55:19 +0700
committerLibravatar Amine Mouafik <amine@mouafik.fr>2019-10-31 14:55:19 +0700
commitfc6e64329773f29fc9eee28bc3f4a1a1b01f218d (patch)
tree1c28572f97ee8a3d842f30c6741111183a478fc5 /src/index.js
parent#178 Fetch in-app news from Ferdi server only (diff)
downloadferdium-app-fc6e64329773f29fc9eee28bc3f4a1a1b01f218d.tar.gz
ferdium-app-fc6e64329773f29fc9eee28bc3f4a1a1b01f218d.tar.zst
ferdium-app-fc6e64329773f29fc9eee28bc3f4a1a1b01f218d.zip
#160 Setup Sentry for Electron
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 3453b46f7..bc3c9555a 100644
--- a/src/index.js
+++ b/src/index.js
@@ -39,6 +39,7 @@ import handleDeepLink from './electron/deepLinking';
39import { isPositionValid } from './electron/windowUtils'; 39import { isPositionValid } from './electron/windowUtils';
40import { appId } from './package.json'; // eslint-disable-line import/no-unresolved 40import { appId } from './package.json'; // eslint-disable-line import/no-unresolved
41import './electron/exception'; 41import './electron/exception';
42import './sentry';
42 43
43import { 44import {
44 DEFAULT_APP_SETTINGS, 45 DEFAULT_APP_SETTINGS,
@@ -173,6 +174,7 @@ const createWindow = () => {
173 webPreferences: { 174 webPreferences: {
174 nodeIntegration: true, 175 nodeIntegration: true,
175 webviewTag: true, 176 webviewTag: true,
177 preload: path.join(__dirname, 'sentry.js')
176 }, 178 },
177 }); 179 });
178 180