refactor(name): remove console statement
This commit is contained in:
parent
12eaa741ab
commit
60fb23fc5b
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue