ZEPPELIN-198 Added error logging when returning error in interpet

This commit is contained in:
Tom Runyon 2016-02-27 14:29:34 -05:00
parent 227b815ed3
commit d24f4c0f6f

View file

@ -129,6 +129,7 @@ public abstract class FileInterpreter extends Interpreter {
String results = listAll(newPath);
return new InterpreterResult(Code.SUCCESS, Type.TEXT, results);
} catch (Exception e) {
logger.error(e);
return new InterpreterResult(Code.ERROR, Type.TEXT, e.getMessage());
}