Skip to content

Commit a538cd6

Browse files
committed
fix cryptic modules not found message
1 parent 67198f0 commit a538cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/moduleLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function loadModuleText(path: string) {
1515
req.open('GET', scriptPath, false)
1616
req.send(null)
1717
if (req.status !== 200 && req.status !== 304) {
18-
throw new ModuleNotFound(`module ${path} not found.`)
18+
throw new ModuleNotFound(path)
1919
}
2020
return req.responseText
2121
}

0 commit comments

Comments
 (0)