missing exception handeling in LivySparkInterpreter

This commit is contained in:
Prabhjyot Singh 2016-05-03 17:20:33 +05:30
parent 200e715d39
commit 7a123360d8

View file

@ -88,6 +88,7 @@ public class LivySparkInterpreter extends Interpreter {
);
livyHelper.initializeSpark(interpreterContext, userSessionMap);
} catch (Exception e) {
LOGGER.error("Exception in LivySparkInterpreter while interpret ", e);
return new InterpreterResult(InterpreterResult.Code.ERROR, e.getMessage());
}
}