diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
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'; | |||
39 | import { isPositionValid } from './electron/windowUtils'; | 39 | import { isPositionValid } from './electron/windowUtils'; |
40 | import { appId } from './package.json'; // eslint-disable-line import/no-unresolved | 40 | import { appId } from './package.json'; // eslint-disable-line import/no-unresolved |
41 | import './electron/exception'; | 41 | import './electron/exception'; |
42 | import './sentry'; | ||
42 | 43 | ||
43 | import { | 44 | import { |
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 | ||