mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 08:43:48 +03:00
feat: add catch
This commit is contained in:
parent
08fbd4c8d8
commit
50b34dc864
@ -106,7 +106,7 @@ export const publishNewAchievementNotification = async (
|
|||||||
iconUrl.split("/").pop() || "image.jpg"
|
iconUrl.split("/").pop() || "image.jpg"
|
||||||
);
|
);
|
||||||
|
|
||||||
await downloadImage(iconUrl, iconPath);
|
await downloadImage(iconUrl, iconPath).catch(() => {});
|
||||||
|
|
||||||
new Notification({
|
new Notification({
|
||||||
title: t("game_achievement_unlocked", {
|
title: t("game_achievement_unlocked", {
|
||||||
|
Loading…
Reference in New Issue
Block a user