Skip to content

Commit

Permalink
remove memory leak at console.error (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
guitavano authored Apr 15, 2024
1 parent 0da8cd3 commit e9bfa8c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const fetchSafe = async (
return response;
}

console.error(`${input}\n`, response, `\n`);
throw new HttpError(response.status, `${input}`);
};

Expand Down

0 comments on commit e9bfa8c

Please sign in to comment.