Skip to content

Commit f631f1b

Browse files
authored
[rules] Remove leftover from #4289 (#4319)
1 parent 9f80bbf commit f631f1b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/handler/AbstractScriptModuleHandler.java

-4
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ protected void compileScript() throws ScriptException {
106106
if (scriptEngine instanceof Compilable) {
107107
logger.debug("Pre-compiling script of rule with UID '{}'", ruleUID);
108108
compiledScript = Optional.ofNullable(((Compilable) scriptEngine).compile(script));
109-
} else {
110-
logger.error(
111-
"Script engine of rule with UID '{}' does not implement Compilable but claims to support pre-compilation",
112-
module.getId());
113109
}
114110
}
115111
}

0 commit comments

Comments
 (0)