mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-02 17:35:57 -05:00
Removed console display of error.
This commit is contained in:
parent
7333c00650
commit
88e84af2ae
@ -883,7 +883,7 @@ function CreateWebPowerSwitch(parent, hostname, port, username, password) {
|
||||
}
|
||||
});
|
||||
});
|
||||
req.on('error', function (error) { console.log(error); setState(0); });
|
||||
req.on('error', function (error) { setState(0); });
|
||||
req.on('timeout', function () { setState(0); });
|
||||
if (data) { req.write(data); }
|
||||
req.end();
|
||||
|
Loading…
x
Reference in New Issue
Block a user