diff --git a/app/index.js b/app/index.js index 1c4bf963ed1..de533491c0b 100644 --- a/app/index.js +++ b/app/index.js @@ -36,6 +36,8 @@ process.on('unhandledRejection', function (error, promise) { handleUncaughtError(error) }) +process.on('warning', warning => console.warn(warning.stack)) + if (process.platform === 'win32') { require('./windowsInit') }