Commit 3f2a1004 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

app: log app errors to `console`

parent 95397416
......@@ -54,12 +54,8 @@ function firstRunWindow() {
// and load the index.html of the app.
welcomeWindow.loadURL(MAIN_WINDOW_WEBPACK_ENTRY)
welcomeWindow.on('ready-to-show', () => welcomeWindow.show())
// for debugging
// welcomeWindow.webContents.openDevTools()
if (process.platform === 'darwin') {
app.dock.hide()
}
......@@ -215,10 +211,10 @@ if (app.isPackaged) {
}
autoUpdater.on('error', e => {
logger.error(`update check failed - ${e.message}`)
console.error(`update check failed - ${e.message}`)
})
autoUpdater.on('update-downloaded', (event, releaseNotes, releaseName) => {
autoUpdater.on('update-downloaded', (_, releaseNotes, releaseName) => {
dialog
.showMessageBox({
type: 'info',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment