From cd6ab4f62f0a49ff1436fa2edb1d6dbf6f54e2ae Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sun, 12 Feb 2023 12:35:05 +0100 Subject: [PATCH] reduced socket errors --- gui/daemon.js | 1 - gui/sock.js | 4 ---- 2 files changed, 5 deletions(-) diff --git a/gui/daemon.js b/gui/daemon.js index f091d7ae..10bab25b 100644 --- a/gui/daemon.js +++ b/gui/daemon.js @@ -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; } diff --git a/gui/sock.js b/gui/sock.js index f87e2ac3..486ee889 100644 --- a/gui/sock.js +++ b/gui/sock.js @@ -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);