添加快捷命令服务错误提示

This commit is contained in:
fofolee 2022-05-14 23:58:46 +08:00
parent 11de9ac639
commit adfc2b5130

View File

@ -666,7 +666,7 @@ window.quickcommandHttpServer = () => {
})
httpServer.listen(port, 'localhost');
httpServer.on('error', err => {
console.log('httpErr:', err)
utools.showNotification('快捷命令服务:', err)
})
}
let stop = () => {
@ -677,4 +677,4 @@ window.quickcommandHttpServer = () => {
run,
stop
}
}
}