ticketService->quickAddTicket(['headline' => $headline]); } catch (AuthorizationException $e) { // Expected: the readonly role has no TicketsPermissions::CREATE. This is // a normal outcome, not an incident, so it is not reported — otherwise // every readonly first login would look like a recurring error to ops. } catch (Throwable $e) { // Anything else is genuinely unexpected and worth surfacing, but it // still must not block the completion flag write below. report($e); } } $this->settingsRepo->saveSetting('user.'.session()->get('userdata.id', -1).'.firstLoginCompleted', true); return true; } }