aboutsummaryrefslogtreecommitdiff
path: root/webAO/master.ts
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2023-11-20 00:00:21 +0100
committerDavid Skoland <davidskoland@gmail.com>2023-11-20 21:10:04 +0100
commite1620384089976954d80161e1a91b17b1ac75d95 (patch)
tree0ddbe27553401a0c77a33a70f37db97e77417582 /webAO/master.ts
parent45dd60334185f97a0798c8ba7adad98261309878 (diff)
Warning about no ws port
Diffstat (limited to 'webAO/master.ts')
-rw-r--r--webAO/master.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/webAO/master.ts b/webAO/master.ts
index dc169e4..000f816 100644
--- a/webAO/master.ts
+++ b/webAO/master.ts
@@ -153,6 +153,7 @@ function processServerlist(serverlist: AOServer[]) {
protocol = 'wss';
}
if (port === 0 || protocol === '') {
+ console.warn(`Server ${server.name} has no websocket port, skipping`)
continue;
}