1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

display updater error logs

This commit is contained in:
Dick Choi
2016-07-14 13:57:09 +09:00
parent 8c6a54397f
commit 9ff70c4aef

View File

@@ -131,7 +131,7 @@ function checkUpdate () {
updater.check((err, status) => {
if (err) {
var isLatest = err.message === 'There is no newer version.'
if (!isLatest && !versionNotified) notify('Updater error!', err.message)
if (!isLatest && !versionNotified) console.error('Updater error! %s', err.message)
}
if (!err) {
if (status) {