From 95b83f0cdccb3c9c644e1aee631a353fad2a9dbc Mon Sep 17 00:00:00 2001 From: ConjunctiveNormalForm Date: Wed, 28 Aug 2024 14:07:42 -0400 Subject: [PATCH] do not log axios error --- .eslintrc | 2 +- lib/quoters/WebhookQuoter.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.eslintrc b/.eslintrc index 7f6ecee1..d37542f0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -29,7 +29,7 @@ "import/no-duplicates": "error", "@typescript-eslint/no-empty-interface": "off", "@typescript-eslint/ban-types": "warn", - "@typescript-eslint/no-unused-vars": "warn", + "@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }], "@typescript-eslint/ban-ts-comment": "off" } } diff --git a/lib/quoters/WebhookQuoter.ts b/lib/quoters/WebhookQuoter.ts index 311d06e4..cb41c032 100644 --- a/lib/quoters/WebhookQuoter.ts +++ b/lib/quoters/WebhookQuoter.ts @@ -322,8 +322,8 @@ export class WebhookQuoter implements Quoter { }, axiosConfig ) - .catch((e) => { - this.log.error({ endpoint: status.webhook.endpoint, error: e }, `Axios error notifying block`); + .catch((_e) => { + return; }); } }