diff --git a/pom.xml b/pom.xml index 9e713cd..0ec107d 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 pw.yumc MiaoScript - 0.11.1 + 0.11.2 502647092 diff --git a/src/main/resources/core/require.js b/src/main/resources/core/require.js index ff01885..46382ba 100644 --- a/src/main/resources/core/require.js +++ b/src/main/resources/core/require.js @@ -52,7 +52,7 @@ // @ts-ignore var URL = Java.type('java.net.URL') // @ts-ignore - var Thread = Java.type('java.net.URL') + var Thread = Java.type('java.lang.Thread') // @ts-ignore var FutureTask = Java.type('java.util.concurrent.FutureTask') // @ts-ignore @@ -403,7 +403,7 @@ return _require(download(name), path, optional) } catch (ex) { notFoundModules[name] = true - throw new FileNotFoundException("Can't found module " + name + ' in directory ' + path + ' ERROR: ' + ex) + throw new FileNotFoundException("Can't found module " + name + ' in directory ' + path + ' ERROR: ' + ex, ex) } } setCacheModule(file, optional)