X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fexceptions.php;fp=application%2Fhub%2Fexceptions.php;h=ed80b25d53bf563d2c7e5fd9d62d99abb075c727;hb=5002cad59806c0bde923fcbff5f4cedf76988bc4;hp=dbce802e7e1e55f0257982e0b010006d50819063;hpb=431a3ec865dbb1d22d1663ac8d3ac1e988a67723;p=hub.git diff --git a/application/hub/exceptions.php b/application/hub/exceptions.php index dbce802e7..ed80b25d5 100644 --- a/application/hub/exceptions.php +++ b/application/hub/exceptions.php @@ -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