From 781c375404aa22358587f698245099617e4e0365 Mon Sep 17 00:00:00 2001
From: tobias <thinkdifferent055@gmail.com>
Date: Fri, 29 Sep 2023 15:19:04 +0200
Subject: [PATCH] #187 - Improve logging

---
 main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.js b/main.js
index 5b12f73..ecd723d 100644
--- a/main.js
+++ b/main.js
@@ -101,7 +101,7 @@ class ModuleInstance extends InstanceBase {
         }
 
         if (this.config.host == null || this.config.port == null) {
-            console.log(`PlayWall host '${this.config.host}' or port '${this.config.port}' is invalid`);
+            this.log('debug', `PlayWall host '${this.config.host}' or port '${this.config.port}' is invalid`);
             this.updateStatus(InstanceStatus.BadConfig, `PlayWall host '${this.config.host}' or port '${this.config.port}' is invalid`)
             return
         }
-- 
GitLab