Wasm gui: catch errors loading pandoc
This commit is contained in:
1 parent
c3b6fc906e
commit
7fe6f218a4
1 file changed
+1
-1
+1
-1
@@ -33,7 +33,7 @@ function loadPandoc() {
|
||||
}
|
||||
|
||||
// Start loading immediately in background (fire and forget)
|
||||
loadPandoc();
|
||||
loadPandoc().catch(err => console.error("Failed to load pandoc:", err));
|
||||
|
||||
// Lazy-load typst library only when needed
|
||||
let typstLoaded = false;
|
||||
|
||||
Reference in new issue
Block a user