mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-14 21:35:03 -05:00
* improved error reporting
This commit is contained in:
parent
ac9fe6ec9d
commit
3ea880be66
@ -66,6 +66,9 @@ public class ExpressionBindings extends AbstractMap<String, Object> implements B
|
|||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// check InvocationTargetException cause
|
// check InvocationTargetException cause
|
||||||
|
if (e.getCause() instanceof NullPointerException) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
if (e.getCause() instanceof BindingException) {
|
if (e.getCause() instanceof BindingException) {
|
||||||
throw (BindingException) e.getCause();
|
throw (BindingException) e.getCause();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user