feat: handle and log game backup errors

This commit is contained in:
Zamitto
2025-10-10 14:25:09 -03:00
parent f1a1270230
commit a9b67ad1e6
9 changed files with 56 additions and 15 deletions

View File

@@ -76,7 +76,11 @@ export const getSteamAppDetails = async (
return null;
})
.catch((err) => {
logger.error(err, { method: "getSteamAppDetails" });
logger.error("Error on getSteamAppDetails", {
message: err?.message,
code: err?.code,
name: err?.name,
});
return null;
});
};