]> git.mxchange.org Git - core.git/commitdiff
Log also whole data.
authorRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 22:21:35 +0000 (23:21 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 22:21:35 +0000 (23:21 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/exceptions/base64/class_Base64EncodingModuloException.php

index 2aed900e2fc697347fa2b410b1269c0d4eb2a8f8..b4ce211035cbef5158fdd3ffd43e9c1436962863 100644 (file)
@@ -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