From 73feb07007fe8647c74c3a35465265e6ac530594 Mon Sep 17 00:00:00 2001 From: fallenbagel <98979876+Fallenbagel@users.noreply.github.com> Date: Wed, 19 Feb 2025 07:57:28 +0800 Subject: [PATCH] fix: typos --- server/utils/dnsCacheManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/dnsCacheManager.ts b/server/utils/dnsCacheManager.ts index 688a957d..60b71012 100644 --- a/server/utils/dnsCacheManager.ts +++ b/server/utils/dnsCacheManager.ts @@ -792,7 +792,7 @@ if (typeof global.fetch === 'function') { } if (hostname && error.message?.includes('fetch failed')) { - dnsCache.reportNetworkError(hostname, ''); + dnsCache.reportNetworkError(hostname); logger.warn( `Reporting network error for ${hostname}: ${error.message}`, {