refactor(name): remove console statement

This commit is contained in:
zyachel 2023-10-29 00:43:29 +05:30
parent 12eaa741ab
commit 60fb23fc5b

View file

@ -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);
}
};