From 60fb23fc5bef47250b06448ed317629bb3bd1729 Mon Sep 17 00:00:00 2001 From: zyachel Date: Sun, 29 Oct 2023 00:43:29 +0530 Subject: [PATCH] refactor(name): remove console statement --- src/utils/fetchers/name.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/fetchers/name.ts b/src/utils/fetchers/name.ts index cea92f2..8982bd1 100644 --- a/src/utils/fetchers/name.ts +++ b/src/utils/fetchers/name.ts @@ -18,9 +18,6 @@ const name = async (nameId: string) => { } catch (err: any) { if (err.response?.status === 404) throw new AppError('not found', 404, err.cause); - console.warn(err); - - throw new AppError('something went wrong', 500, err.cause); } };