Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
slozenko committed Mar 19, 2024
1 parent 829b541 commit b632f60
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/java/com/hubspot/jinjava/lib/filter/SliceFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,11 @@ public Object filter(Object var, JinjavaInterpreter interpreter, String... args)
TemplateError.ErrorType.WARNING,
TemplateError.ErrorReason.OVER_LIMIT,
TemplateError.ErrorItem.FILTER,
"The value of the 'slices' parameter is greater than " + MAX_SLICES + ". It's been reduced to " +
MAX_SLICES,
String.format(
"The value of the 'slices' parameter is greater than %d. It's been reduced to %d",
MAX_SLICES,
MAX_SLICES
),
null,
interpreter.getLineNumber(),
interpreter.getPosition(),
Expand Down

0 comments on commit b632f60

Please sign in to comment.