]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions.php
Continued with refactoring:
[hub.git] / application / hub / exceptions.php
index 0ada1c1d2599f9c50765dcfa2f311068fd1e0b4a..226ef6ff524b8a1aba15d76f8884704ddacd8e97 100644 (file)
@@ -84,9 +84,11 @@ Backtrace:
                // Output the message
                print($message);
        } else {
-               // Invalid exception instance detected! Do *only* throw exceptions that
-               // extends our own exception 'FrameworkException' to get such nice
-               // outputs like above.
+               /*
+                * Invalid exception instance detected! Do *only* throw exceptions that
+                * extends our own exception 'FrameworkException' to get such nice
+                * outputs like above.
+                */
                print('exceptionInstance[]=' . gettype($exceptionInstance) . ' is invalid! Please inform the core developer team.');
        }
 }
@@ -120,7 +122,7 @@ function __assertHandler ($file, $line, $code) {
        );
 
        // Log assert
-       die($message);
+       die($message . PHP_EOL);
        syslog(LOG_WARNING, $message);
 
        // Throw an exception here