]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions.php
Added missing config entry + unfinished class NodeMessageDhtBootstrapAnswerHandler
[hub.git] / application / hub / exceptions.php
index a6ca43ce1f337532c3e14d4e7cbcc8279854b23b..a7c409ae1805ab82a18d5fc06dc0e6d3a423b36c 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * An include file for setting up the exception handler of the hub
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
  * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
@@ -119,6 +119,9 @@ function __assertHandler ($file, $line, $code) {
                $code
        );
 
+       // Log assert
+       syslog(LOG_WARNING, $message);
+
        // Throw an exception here
        throw new AssertionException($message, BaseFrameworkSystem::EXCEPTION_ASSERTION_FAILED);
 } // END - function