/** * @param $id * @return Application * @throws ModelNotFoundException * @throws \Exception */ private function fetchApplicationLocalObject($id) { try { return Application::findOrFail($id); } catch (ModelNotFoundException $e) { $this->logError(__CLASS__ . ': Failed fetching Installation[' . $id . '] local object: ' . $e->getMessage()); throw $e; } }