mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
More frendly meshctrol.js unable to connect error, #3807
This commit is contained in:
parent
c30196dd03
commit
589ae4a285
1 changed files with 1 additions and 1 deletions
|
@ -1699,7 +1699,7 @@ function serverConnect() {
|
||||||
ws.on('error', function (err) {
|
ws.on('error', function (err) {
|
||||||
if (err.code == 'ENOTFOUND') { console.log('Unable to resolve ' + url); }
|
if (err.code == 'ENOTFOUND') { console.log('Unable to resolve ' + url); }
|
||||||
else if (err.code == 'ECONNREFUSED') { console.log('Unable to connect to ' + 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();
|
process.exit();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue