mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 12:52:50 +03:00
More frendly meshctrol.js unable to connect error, #3807
This commit is contained in:
parent
c30196dd03
commit
589ae4a285
@ -1699,7 +1699,7 @@ function serverConnect() {
|
||||
ws.on('error', function (err) {
|
||||
if (err.code == 'ENOTFOUND') { console.log('Unable to resolve ' + url); }
|
||||
else if (err.code == 'ECONNREFUSED') { console.log('Unable to connect to ' + url); }
|
||||
else { console.log(err); }
|
||||
else { console.log('Unable to connect to ' + url); }
|
||||
process.exit();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user