mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-198 Added error logging when returning error in interpet
This commit is contained in:
parent
227b815ed3
commit
d24f4c0f6f
1 changed files with 1 additions and 0 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue