feat: adding logger

This commit is contained in:
Chubby Granny Chaser 2024-09-28 00:22:38 +01:00
parent ac9565f924
commit eebd09ccf2
No known key found for this signature in database
5 changed files with 38 additions and 20 deletions

View file

@ -87,17 +87,12 @@ const uploadSaveGame = async (
true
);
// fs.rm(zipLocation, (err) => {
// if (err) {
// logger.error("Failed to remove zip file", err);
// throw err;
// }
// WindowManager.mainWindow?.webContents.send(
// `on-upload-complete-${objectId}-${shop}`,
// true
// );
// });
fs.rm(zipLocation, (err) => {
if (err) {
logger.error("Failed to remove zip file", err);
throw err;
}
});
});
});
});