diff --git a/src/main/java/org/bdware/sc/ContractProcess.java b/src/main/java/org/bdware/sc/ContractProcess.java index 005e72b..3546893 100644 --- a/src/main/java/org/bdware/sc/ContractProcess.java +++ b/src/main/java/org/bdware/sc/ContractProcess.java @@ -99,6 +99,7 @@ public class ContractProcess { } else if (arg.startsWith("-cmi")) { cmi = arg.substring(5); } else if (arg.startsWith("-debug")) { + LOGGER.info("log level: debug"); Configurator.setRootLevel(Level.DEBUG); } else if (arg.startsWith("-disablePID")) { pidInput = new ByteArrayInputStream("CP PID:-1".getBytes(StandardCharsets.UTF_8)); diff --git a/src/main/java/org/bdware/sc/engine/DesktopEngine.java b/src/main/java/org/bdware/sc/engine/DesktopEngine.java index bd09e2a..7446bfa 100644 --- a/src/main/java/org/bdware/sc/engine/DesktopEngine.java +++ b/src/main/java/org/bdware/sc/engine/DesktopEngine.java @@ -468,7 +468,6 @@ public class DesktopEngine extends JSEngine { // long start = System.currentTimeMillis(); for (AnnotationHook handler : fun.beforeExecutionAnnotations()) { - ret = handler.handle(input, this, ret); } // actually invoke!