]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/starter.php
Simple exception handler and error handler added, profile update added with stubs
[shipsimu.git] / application / ship-simu / starter.php
index dd07fb6a53e3987893087c44c8405a4975e19236..738a628daf2dec2aa97fba9597a35327c90bd87f 100644 (file)
@@ -46,18 +46,8 @@ if ((empty($app)) || (is_null($app))) {
        ));
 }
 
-// Call the entry point method
-try {
-       // Call user function
-       call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array());
-} catch (FrameworkException  $e) {
-       ApplicationEntryPoint::app_die(sprintf("[Main:] The application <strong>%s</strong> has been terminated due to a thrown exception: <strong>%s - %s</strong>",
-               $application,
-               $e->__toString(),
-               $e->getMessage()
-       ));
-}
-
+// Call user function
+call_user_func_array(array($app, FrameworkConfiguration::getInstance()->readConfig('entry_method')), array());
 
 // [EOF]
 ?>