From ac91471a09ac447ff823e74f15292e3360b556fc Mon Sep 17 00:00:00 2001 From: MrLetsplay2003 Date: Sun, 13 Oct 2024 18:58:43 +0200 Subject: [PATCH] Update code (human) --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 2fd5ed9..0476a6d 100644 --- a/script.js +++ b/script.js @@ -51,6 +51,6 @@ function updateStatus(serverData) { for (let server of servers) { fetch(server.url) + .catch(a => updateStatus({ server: server.name })) .then(data => updateStatus({ ...data, server: server.name })) - .error(a => updateStatus({ server: server.name })); }