From 26e45d174f415b66bc3f634691a874858ba1dd2c Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 15 Feb 2014 23:21:35 +0100 Subject: [PATCH] Log also whole data. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../base64/class_Base64EncodingModuloException.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/classes/exceptions/base64/class_Base64EncodingModuloException.php b/inc/classes/exceptions/base64/class_Base64EncodingModuloException.php index 2aed900e..b4ce2110 100644 --- a/inc/classes/exceptions/base64/class_Base64EncodingModuloException.php +++ b/inc/classes/exceptions/base64/class_Base64EncodingModuloException.php @@ -31,10 +31,11 @@ class Base64EncodingModuloException extends FrameworkException { */ public function __construct (array $messageArray, $code) { // Construct message - $message = sprintf('[%s:%d] Data length %s modulo 4 is not zero.', + $message = sprintf('[%s:%d] Data length %s modulo 4 is not zero: data=%s', $messageArray[0]->__toString(), $this->getLine(), - strlen($messageArray[1]) + strlen($messageArray[1]), + $messageArray[1] ); // Call parent exception constructor -- 2.39.5