From 5360d64ad89aa4a19e9d2621719e53b7f8db79cc Mon Sep 17 00:00:00 2001 From: Sreelal TS Date: Fri, 28 Jul 2023 00:07:36 +0530 Subject: [PATCH] Ignore reporting & solve warnings --- src/helpers/report.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/helpers/report.ts b/src/helpers/report.ts index b785d41e..1beb6219 100644 --- a/src/helpers/report.ts +++ b/src/helpers/report.ts @@ -85,8 +85,9 @@ async function sendToTelegramAdmin(error: Error, info: ExtraErrorInfo) { } export default function report(error: Error, info: ExtraErrorInfo = {}) { - // console.error(error, info) - // void sendToTelegramAdmin(error, info) + sendToTelegramAdmin + error + info } function escape(s: string) {