From 132465621494667dcd1e22a0c17fd74f595031cc Mon Sep 17 00:00:00 2001 From: okx-code Date: Sat, 14 Aug 2021 21:51:31 +0100 Subject: [PATCH] show thing that is not a number --- .../java/sh/okx/rankup/text/pebble/DecimalFormatFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/sh/okx/rankup/text/pebble/DecimalFormatFilter.java b/src/main/java/sh/okx/rankup/text/pebble/DecimalFormatFilter.java index c02b220..ff7a5c5 100644 --- a/src/main/java/sh/okx/rankup/text/pebble/DecimalFormatFilter.java +++ b/src/main/java/sh/okx/rankup/text/pebble/DecimalFormatFilter.java @@ -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()); }