From 4715e7ccde04a77ff04f1ac839c151eaebc4ad44 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 18 Mar 2026 22:50:01 +0100 Subject: dont skip empty descriptions --- webAO/master.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webAO/master.ts b/webAO/master.ts index ddef040..b40763d 100644 --- a/webAO/master.ts +++ b/webAO/master.ts @@ -74,8 +74,7 @@ async function getServerlist(): Promise { continue; } if (!item.description) { - console.warn(`Server ${item.name} has no description, skipping`); - continue; + console.warn(`Server ${item.name} has no description`); } const newServer: AOServer = { @@ -94,9 +93,8 @@ async function getServerlist(): Promise { } // if none of ws_port or wss_port are defined, skip - // Note that this is not an error condition, as many servers only has port (TCP) enabled - // Which means they don't support webAO if (!newServer.ws_port && !newServer.wss_port) { + console.warn(`Server ${item.name} has no websocket port, skipping`); continue; } -- cgit