reduced socket errors

This commit is contained in:
DJ2LS 2023-02-12 12:35:05 +01:00
parent 8bdf3df810
commit cd6ab4f62f
2 changed files with 0 additions and 5 deletions

View file

@ -58,7 +58,6 @@ daemon.on("error", function (err) {
daemonLog.error("daemon connection error");
daemonLog.info("Make sure the daemon is started.");
daemonLog.info('Run "python daemon.py" in the tnc directory.');
daemonLog.debug(err);
daemonShowConnectStateError = 0;
}

View file

@ -76,10 +76,6 @@ client.on("connect", function (data) {
client.on("error", function (data) {
if (tncShowConnectStateError == 1) {
socketLog.error("TNC connection error");
socketLog.info("TNC is started by the GUI process.");
socketLog.debug(data);
// setTimeout( function() { exports.connectTNC(tnc_host, tnc_port); }, 2000 );
tncShowConnectStateError = 0;
}
setTimeout(connectTNC, 500);