fix: replace console.error with achievementsLogger.error

This commit is contained in:
Hachi-R 2025-01-02 09:34:28 -03:00
parent 9849fbb31c
commit 52c159fe51

View File

@ -2,7 +2,7 @@ import { gameAchievementRepository, gameRepository } from "@main/repository";
import { registerEvent } from "../register-event";
import { findAchievementFiles } from "@main/services/achievements/find-achivement-files";
import fs from "fs";
import { WindowManager } from "@main/services";
import { achievementsLogger, WindowManager } from "@main/services";
import { getUnlockedAchievements } from "../user/get-unlocked-achievements";
import { HydraApi } from "@main/services/hydra-api";
@ -45,7 +45,7 @@ const resetGameAchievements = async (
gameAchievements
);
} catch (error) {
console.error(error);
achievementsLogger.error(error);
}
};