From 41ea4201d85df2ca487bfb9a5d131d8b27c4c155 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sat, 17 Aug 2024 18:42:52 +0200 Subject: [PATCH] Update --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 247eb47..d646213 100644 --- a/index.js +++ b/index.js @@ -24,7 +24,7 @@ const fetchBlockedIPs = async () => { throw new Error(`Failed to retrieve data from Cloudflare. Status: ${res.status}`); } } catch (err) { - log('error', err.response ? `${err.response.status} HTTP ERROR (Cloudflare)\n${JSON.stringify(err.response.data, null, 2)}` : `Unknown error with Cloudflare: ${err.message}`); + log('error', err.response ? `${err.response.status} HTTP ERROR (Cloudflare API)\n${JSON.stringify(err.response.data, null, 2)}` : `Unknown error with Cloudflare API: ${err.message}`); return null; } };