]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/cruncher/class_CruncherInitializationFilter.php
Used exit() instead of die()
[hub.git] / application / hub / main / filter / cruncher / class_CruncherInitializationFilter.php
index fd5f9d3b0a42e5847284ce4c3b2dfb1835680449..0f3920e6d643100e44be9350a39a25f73141c2cb 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -84,8 +84,8 @@ class CruncherInitializationFilter extends BaseFilter implements Filterable {
                        $cruncherInstance->addExtraFilters($applicationInstance->getControllerInstance(), $responseInstance);
                } catch (ClassNotFoundException $e) {
                        // This exception means, the cruncher mode is invalid.
-                       // @TODO Can we rewrite this to app_die() ?
-                       $this->debugBackTrace(__METHOD__ . ': cruncher mode ' . $cruncherMode . ' is invalid.' . "\n");
+                       // @TODO Can we rewrite this to app_exit() ?
+                       $this->debugBackTrace('[' . __METHOD__ . ':' . __LINE__ . ']:  cruncher mode ' . $cruncherMode . ' is invalid.');
                }
 
                // Set the cruncher instance in registry