fix: harden player vtt handling

This commit is contained in:
2026-06-16 01:23:37 +02:00
committed by Milas Holsting
parent e7fb4264f7
commit d2a3b0ccda
4 changed files with 38 additions and 5 deletions

View File

@@ -43,5 +43,7 @@ export const setupThumbnails = (): void => {
}
});
})
.catch((err) => console.error("Failed to fetch thumbnails:", err));
.catch(() => {
window.showToast?.({ message: "Failed to load episode thumbnails." });
});
};