feat: better logs on api error

This commit is contained in:
Zamitto 2024-06-28 11:29:09 -03:00
parent 2a44313d84
commit 1ceabb00be
3 changed files with 17 additions and 3 deletions

View file

@ -64,7 +64,7 @@ export const mergeWithRemoteGames = async () => {
}
} catch (err) {
if (err instanceof AxiosError) {
logger.error("getRemoteGames", err.response, err.message);
logger.error("getRemoteGames", err.message);
} else {
logger.error("getRemoteGames", err);
}