Expand error

This commit is contained in:
James Cole 2021-08-11 14:17:27 +02:00
parent d222a7f1b7
commit f741d05f94

View File

@ -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);