From: Roland Haeder Date: Sat, 15 Feb 2014 22:21:35 +0000 (+0100) Subject: Log also whole data. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=26e45d174f415b66bc3f634691a874858ba1dd2c;p=core.git Log also whole data. Signed-off-by: Roland Häder --- 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