]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/exceptions.php
Filters added no longer in command constructor
[shipsimu.git] / application / ship-simu / exceptions.php
index 98989ee11b992d4e64f4dd16443e53d3e361089f..6d606d9be93a8a8e4af0bdd36ef01b16abebb2b7 100644 (file)
 // Our own exception handler
 function __exceptionHandler (FrameworkException $e) {
        // Call the app_die() method
-       ApplicationEntryPoint::app_die(sprintf("[Main:] The application <strong>%s</strong> (<strong>%s</strong>) has been terminated due to a thrown exception: <strong>%s: <span id=\"debug_exception\">%s</em></strong>. Backtrace: <div id=\"debug_backtrace\">%s</div>",
+       ApplicationEntryPoint::app_die(sprintf("[Main:] The application <strong>%s</strong> (<strong>%s</strong>) has been terminated due to a thrown exception: <strong>%s[%s]: <span id=\"debug_exception\">%s</em></strong>. Backtrace: <div id=\"debug_backtrace\">%s</div>",
                ApplicationHelper::getInstance()->getAppName(),
                ApplicationHelper::getInstance()->getAppShortName(),
                $e->__toString(),
+               $e->getHexCode(),
                $e->getMessage(),
                $e->getPrintableBackTrace()
        ));