]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions.php
Debug message was added at wrong position
[hub.git] / application / hub / exceptions.php
index dbce802e7e1e55f0257982e0b010006d50819063..ed80b25d53bf563d2c7e5fd9d62d99abb075c727 100644 (file)
@@ -87,14 +87,14 @@ Backtrace:
                // Invalid exception instance detected! Do *only* throw exceptions that
                // extends our own exception 'FrameworkException' to get such nice
                // outputs like above.
-               print("exceptionInstance is invalid! Please inform the core developer team.\n");
+               print('exceptionInstance[]=' . gettype($exceptionInstance) . ' is invalid! Please inform the core developer team.');
        }
 }
 
 // Error handler
 function __errorHandler ($errno, $errstr, $errfile, $errline, array $errcontext) {
        // Construct the message
-       $message = sprintf("File: %s, Line: %s, Code: %s, Message: %s",
+       $message = sprintf('File: %s, Line: %s, Code: %s, Message: %s',
                basename($errfile),
                $errline,
                $errno,
@@ -113,7 +113,7 @@ function __assertHandler ($file, $line, $code) {
        } // END - if
 
        // Create message
-       $message = sprintf("File: %s, Line: %s, Code: %s",
+       $message = sprintf('File: %s, Line: %s, Code: %s',
                basename($file),
                $line,
                $code