]> git.basschouten.com Git - openhab-addons.git/commit
[jsscripting] Fix regressions from #14135 & Log stack on `IllegalArgumentException...
authorFlorian Hotze <florianh_dev@icloud.com>
Tue, 3 Jan 2023 19:45:23 +0000 (20:45 +0100)
committerGitHub <noreply@github.com>
Tue, 3 Jan 2023 19:45:23 +0000 (20:45 +0100)
commitf082df923f7f5218364ddea2a95339d117b2f837
treed28cbacf883e2bace384abf79052edc7441287b5
parent7c3fbfdde3c1f79e6c37314f2b60c99a2e4456e9
[jsscripting] Fix regressions from #14135 & Log stack on `IllegalArgumentException` (#14142)

* [jsscripting] Fix bundling of global script & regression from #14135

Fixes the regression from https://github.com/openhab/openhab-addons/pull/14135#issuecomment-1369231126.

While working on this, I also noticed that the cache openhab-js does not work because of wrong webpack commandline args in the pom (wrong entrypoint).

* [jsscripting] Enable stack logging for IllegalArgumentExceptions
* [jsscripting] Upgrade openhab-js to 3.2.4
* [jsscripting] Update README for recent PR

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
bundles/org.openhab.automation.jsscripting/README.md
bundles/org.openhab.automation.jsscripting/pom.xml
bundles/org.openhab.automation.jsscripting/src/main/java/org/openhab/automation/jsscripting/internal/DebuggingGraalScriptEngine.java
bundles/org.openhab.automation.jsscripting/src/main/java/org/openhab/automation/jsscripting/internal/OpenhabGraalJSScriptEngine.java