From 13a106d3f6721ecb20d4d916128da363196ce091 Mon Sep 17 00:00:00 2001 From: Andreas Venizelou Date: Mon, 17 Jun 2024 10:32:39 +0300 Subject: [PATCH] Minor --- Protest/Front/ntpclient.js | 1 - Protest/Front/view.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Protest/Front/ntpclient.js b/Protest/Front/ntpclient.js index 2e82ccb5..c28fe990 100644 --- a/Protest/Front/ntpclient.js +++ b/Protest/Front/ntpclient.js @@ -159,7 +159,6 @@ class NtpClient extends Window { this.hexButton.onclick = ()=>{ new HexViewer({exchange:[{direction:"query", data:json.req},{direction:"response", data:json.res}], protocol:"ntp"}); }; - } else { this.id = null; diff --git a/Protest/Front/view.js b/Protest/Front/view.js index 1c3d66ba..39cd21db 100644 --- a/Protest/Front/view.js +++ b/Protest/Front/view.js @@ -472,7 +472,7 @@ class View extends Window { if (json.error) throw (json.error); } catch (ex) { - console.error(ex); + console.error(`timeline error: ${ex}`); return; }