Wasm gui: catch errors loading pandoc

This commit is contained in:
John MacFarlane
2026-02-06 01:25:41 +01:00
parent c3b6fc906e
commit 7fe6f218a4
+1 -1
View File
@@ -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;