/** * Run the Application */ public function run() { try { $this->startSession(); $this->initConfig(); $this->dispatch(); } catch (Exception $e) { Debug::catchException($e); exit(1); } catch (\Exception $e) { Debug::catchNormalException($e); exit(1); } }