From 20074a50913898a61e9bd54a582409719237fd08 Mon Sep 17 00:00:00 2001 From: jj Date: Tue, 26 Nov 2024 13:55:18 +0000 Subject: [PATCH] api/cookie: rephrase non-string warning --- api/src/processing/cookie/manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/processing/cookie/manager.js b/api/src/processing/cookie/manager.js index 1b8981c4..82f73a5f 100644 --- a/api/src/processing/cookie/manager.js +++ b/api/src/processing/cookie/manager.js @@ -40,7 +40,7 @@ const setupMain = async (cookiePath) => { } else if (!Array.isArray(cookies[serviceName])) { console.warn(`${Yellow('[!]')} ${serviceName} in cookies file is not an array, ignoring it`); } else if (cookies[serviceName].some(c => typeof c !== 'string')) { - console.warn(`${Yellow('[!]')} cookies file contains non-string value for ${serviceName}`); + console.warn(`${Yellow('[!]')} some cookie for ${serviceName} contains non-string value in cookies file`); } else continue; invalidCookies[serviceName] = cookies[serviceName];