From 4970930c2f866133c38fa73800f1a963f0856692 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 4 Mar 2022 16:57:07 +0100 Subject: prepend all generated console messages with 'Haketilo:' --- html/DOM_helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/DOM_helpers.js') diff --git a/html/DOM_helpers.js b/html/DOM_helpers.js index 9e64956..9097af0 100644 --- a/html/DOM_helpers.js +++ b/html/DOM_helpers.js @@ -110,7 +110,7 @@ function Showable(on_show_cb, on_hide_cb) { try { on_show_cb(); } catch(e) { - console.error(e); + console.error("Haketilo:", e); } return true; @@ -125,7 +125,7 @@ function Showable(on_show_cb, on_hide_cb) { try { on_hide_cb(); } catch(e) { - console.error(e); + console.error("Haketilo:", e); } return true; -- cgit v1.2.3