]> git.mxchange.org Git - hub.git/commitdiff
Opps, 2 parameters are required.
authorRoland Haeder <roland@mxchange.org>
Sun, 16 Feb 2014 17:59:58 +0000 (18:59 +0100)
committerRoland Haeder <roland@mxchange.org>
Sun, 16 Feb 2014 17:59:58 +0000 (18:59 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/exceptions.php

index ffb05434eb7fcfdc5ac3de4942d93623d1011e8e..a7c409ae1805ab82a18d5fc06dc0e6d3a423b36c 100644 (file)
@@ -120,7 +120,7 @@ function __assertHandler ($file, $line, $code) {
        );
 
        // Log assert
-       syslog($message);
+       syslog(LOG_WARNING, $message);
 
        // Throw an exception here
        throw new AssertionException($message, BaseFrameworkSystem::EXCEPTION_ASSERTION_FAILED);