diff --git a/misc/wasm/wasm_exec.html b/misc/wasm/wasm_exec.html
index cc37ea73ce..f5e21e40f3 100644
--- a/misc/wasm/wasm_exec.html
+++ b/misc/wasm/wasm_exec.html
@@ -27,6 +27,8 @@ license that can be found in the LICENSE file.
mod = result.module;
inst = result.instance;
document.getElementById("runButton").disabled = false;
+ }).catch((err) => {
+ console.error(err);
});
async function run() {