diff --git a/src/main/java/com/mitchellbosecke/pebble/node/expression/GetAttributeExpression.java b/src/main/java/com/mitchellbosecke/pebble/node/expression/GetAttributeExpression.java index 789e4e5f4..80f7abadc 100644 --- a/src/main/java/com/mitchellbosecke/pebble/node/expression/GetAttributeExpression.java +++ b/src/main/java/com/mitchellbosecke/pebble/node/expression/GetAttributeExpression.java @@ -171,8 +171,7 @@ private Object invokeMember(Object object, Member member, Object[] argumentValue } } } catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) { - e.printStackTrace(); - + throw new RuntimeException(e); } return result; }