feat: add error handling to player episode functions

This commit is contained in:
2026-06-16 14:00:35 +02:00
parent 6545e898bb
commit e24d832cf0
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);
});
};