]> git.mxchange.org Git - hub.git/commitdiff
Log asserts.
authorRoland Haeder <roland@mxchange.org>
Sun, 16 Feb 2014 17:57:44 +0000 (18:57 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 16 Feb 2014 17:57:44 +0000 (18:57 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/exceptions.php

index 38ca4bbd29f0e1b27414146e00fd9324715e3248..ffb05434eb7fcfdc5ac3de4942d93623d1011e8e 100644 (file)
@@ -119,6 +119,9 @@ function __assertHandler ($file, $line, $code) {
                $code
        );
 
+       // Log assert
+       syslog($message);
+
        // Throw an exception here
        throw new AssertionException($message, BaseFrameworkSystem::EXCEPTION_ASSERTION_FAILED);
 } // END - function