mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Removed console display of error.
This commit is contained in:
parent
7333c00650
commit
88e84af2ae
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue