From f741d05f942439b23c26df39b0fa9a85506d2824 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 11 Aug 2021 14:17:27 +0200 Subject: [PATCH] Expand error --- app/Validation/FireflyValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.php index d92498beb0..146b273a4a 100644 --- a/app/Validation/FireflyValidator.php +++ b/app/Validation/FireflyValidator.php @@ -191,7 +191,7 @@ class FireflyValidator extends Validator try { $checksum = bcmod($iban, '97'); } catch (ValueError $e) { - $message = sprintf('Could not validate IBAN check value "%s"', $iban); + $message = sprintf('Could not validate IBAN check value "%s" (IBAN "%s")', $iban, $value); Log::error($message); Log::error($e->getTraceAsString()); throw new FireflyException($message, 0, $e);