From f5d1d1a0b7b47953fcdcf8bd8935f1b312952ea7 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 6 May 2025 17:52:39 +0800 Subject: [PATCH] chore: 1 --- packages/core/acme-client/src/verify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/acme-client/src/verify.js b/packages/core/acme-client/src/verify.js index f148194c..0af93fd5 100644 --- a/packages/core/acme-client/src/verify.js +++ b/packages/core/acme-client/src/verify.js @@ -39,12 +39,12 @@ async function verifyHttpChallenge(authz, challenge, keyAuthorization, suffix = const resp = await axios.get(challengeUrl, { httpsAgent }); data = (resp.data || '').replace(/\s+$/, ''); }catch (e) { - log(`[error] HTTP request error from ${authz.identifier.value}`,e); + log(`[error] HTTP request error from ${authz.identifier.value}`,e.message); return false } if (!data || (data !== keyAuthorization)) { - log(`[error] Authorization not found in HTTPS response from ${authz.identifier.value}`); + log(`[error] Authorization not found in HTTP response from ${authz.identifier.value}`); return false } return true