From bb18567b830a60f3c828e9d84006378c8fbf8d92 Mon Sep 17 00:00:00 2001 From: wphan Date: Wed, 20 Dec 2023 16:18:35 -0800 Subject: [PATCH] log webhook error --- src/utils/webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/webhook.ts b/src/utils/webhook.ts index 7ecdedc..27be7c2 100644 --- a/src/utils/webhook.ts +++ b/src/utils/webhook.ts @@ -50,7 +50,7 @@ export async function webhookMessage( await axios.post(webhook, data); } catch (err) { - logger.info('webhook error'); + logger.error('webhook error', err); } } }