ZEPPELIN-198 fixed logging to match standards

This commit is contained in:
Tom Runyon 2016-03-02 06:29:58 -05:00
parent 933c890854
commit 56a5174479

View file

@ -129,7 +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.getStackTrace().toString());
logger.error("Error listing files in path " + newPath, e);
return new InterpreterResult(Code.ERROR, Type.TEXT, e.getMessage());
}