feat: add catch

This commit is contained in:
Zamitto 2024-09-26 16:13:41 -03:00
parent 08fbd4c8d8
commit 50b34dc864

View File

@ -106,7 +106,7 @@ export const publishNewAchievementNotification = async (
iconUrl.split("/").pop() || "image.jpg"
);
await downloadImage(iconUrl, iconPath);
await downloadImage(iconUrl, iconPath).catch(() => {});
new Notification({
title: t("game_achievement_unlocked", {