mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 05:24:55 +03:00
fix: replace console.error with achievementsLogger.error
This commit is contained in:
parent
9849fbb31c
commit
52c159fe51
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user