We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6f3563 commit 2335c05Copy full SHA for 2335c05
1 file changed
src/main/java/com/hubspot/jinjava/el/ext/AstDict.java
@@ -53,7 +53,7 @@ public Object eval(Bindings bindings, ELContext context) {
53
key = entryKey.eval(bindings, context).toString();
54
} else {
55
throw new TemplateStateException(
56
- "Dict key must be a string or identifier, was: " + entryKey
+ "Dict key must be a string, or identifier, or a number, was: " + entryKey
57
);
58
}
59
0 commit comments