mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
ZEPPELIN-1716. Error of interpreter not found is not propagated to frontend.
This commit is contained in:
parent
e8cea41c61
commit
ad7ec6373e
1 changed files with 7 additions and 2 deletions
|
|
@ -593,7 +593,12 @@ public class Paragraph extends Job implements Serializable, Cloneable {
|
|||
}
|
||||
|
||||
private boolean isValidInterpreter(String replName) {
|
||||
return factory.getInterpreter(user,
|
||||
note.getId(), replName) != null;
|
||||
try {
|
||||
return factory.getInterpreter(user,
|
||||
note.getId(), replName) != null;
|
||||
} catch (InterpreterException e) {
|
||||
// ignore this exception, it would be recaught when running paragraph.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue