Add log messages

This commit is contained in:
karuppayya 2016-01-12 14:54:35 +05:30
parent 9eb3ecaf6b
commit 8cd6fd4d0e

View file

@ -89,6 +89,8 @@ public class ShellInterpreter extends Interpreter {
if (exitValue == 143) {
code = Code.INCOMPLETE;
msg = msg + "Paragraph received a SIGTERM";
logger.info("The paragraph " + contextInterpreter.getParagraphId()
+ " stopped executing: " + msg);
}
return new InterpreterResult(code, msg);
} catch (IOException e) {