public function show($id) { $this->crash_report = CrashReport::findById($id); $symbolicator = new Symbolicator($this->crash_report->summary, 'tower1', $this->crash_report->appVersion); $this->symbolicated_report = null; $this->symbolicator_error_message = null; try { $this->symbolicated_report = $symbolicator->symbolicate(); } catch (Exception $e) { $this->symbolicator_error_message = markdown_to_html($e->getMessage()); } }