feat: add error handling to player episode functions

This commit is contained in:
2026-06-16 14:00:35 +02:00
committed by Milas Holsting
parent 0cd47ab0fe
commit 3a1a2129d9
3 changed files with 9 additions and 4 deletions

View File

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