show thing that is not a number

This commit is contained in:
okx-code
2021-08-14 21:51:31 +01:00
parent 1ee0def617
commit 1324656214
@@ -28,7 +28,7 @@ public class DecimalFormatFilter implements Filter {
return null;
}
if (!(input instanceof Number)) {
throw new PebbleException(null, "The input for the 'DecimalFormatFilter' filter has to be a number.",
throw new PebbleException(null, "The input for the 'DecimalFormatFilter' filter has to be a number: " + input,
lineNumber, self.getName());
}