Skip to content

Commit

Permalink
feat: add error catching to the quit and install functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelramalho19 committed May 19, 2020
1 parent 989eea5 commit 6332b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto-updater/quit-and-install.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = async function quitAndInstall ({ stopIpfs }) {
if (status === STATUS.STOPPING_FAILED || status === STATUS.STOPPING_FINISHED) {
autoUpdater.quitAndInstall(true, true)
}
} catch(err) {
} catch (err) {
logger.error(err)
autoUpdater.quitAndInstall(true, true)
}
Expand Down

0 comments on commit 6332b53

Please sign in to comment.