mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-23 19:12:08 +01:00
Report a failed HTML movie start instead of leaving the promise unhandled
This commit is contained in:
1 parent
cae2150408
commit
65233523b4
1 file changed
+1
-1
@@ -332,5 +332,5 @@
|
||||
report(player.start());
|
||||
resize();
|
||||
requestAnimationFrame(tick);
|
||||
});
|
||||
}).catch((e) => console.error("AniCraft: the movie couldn't start", e));
|
||||
})();
|
||||
Reference in new issue
Block a user