mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-28 20:02:44 +08:00
添加快捷命令服务错误提示
This commit is contained in:
parent
11de9ac639
commit
adfc2b5130
@ -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
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user