Report a failed HTML movie start instead of leaving the promise unhandled

This commit is contained in:
FredApps committed 2026-11-10 11:15:41 +01:00
1 parent cae2150408
commit 65233523b4
1 file changed
+1 -1
+1 -1
View File
@@ -332,5 +332,5 @@
report(player.start());
resize();
requestAnimationFrame(tick);
});
}).catch((e) => console.error("AniCraft: the movie couldn't start", e));
})();