From 778d6b5984f1a98b47e5a36474e0abfb0789e5e9 Mon Sep 17 00:00:00 2001 From: Accusys Date: Mon, 18 May 2026 12:27:24 +0800 Subject: [PATCH] fix: better 404 error message with full URL --- docs_v1.0/doc_wasm/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_v1.0/doc_wasm/index.html b/docs_v1.0/doc_wasm/index.html index 27bde6e..5b274ca 100644 --- a/docs_v1.0/doc_wasm/index.html +++ b/docs_v1.0/doc_wasm/index.html @@ -121,7 +121,7 @@ async function loadDoc(name) { el.innerHTML = '

Loading...

'; try { const resp = await fetch('/doc-wasm/modules/' + name + '.md'); - if (!resp.ok) throw new Error('HTTP ' + resp.status); + if (!resp.ok) throw new Error('HTTP ' + resp.status + ' fetching /doc-wasm/modules/' + name + '.md'); const md = await resp.text(); if (!wasm_exports) throw new Error('WASM not loaded'); el.innerHTML = md2html(md);