Skip to content

refactor(session): DRY cleanup logic exception handling#59044

Closed
solracsf wants to merge 1 commit intomasterfrom
exceptHandDupCode
Closed

refactor(session): DRY cleanup logic exception handling#59044
solracsf wants to merge 1 commit intomasterfrom
exceptHandDupCode

Conversation

@solracsf
Copy link
Copy Markdown
Member

Summary

The session cleanup code (resetting session values and regenerating the ID) is actually duplicated between the catch RuntimeException and Exception blocks.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf solracsf added this to the Nextcloud 34 milestone Mar 18, 2026
@solracsf solracsf requested a review from a team as a code owner March 18, 2026 16:02
@solracsf solracsf added 3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Mar 18, 2026
@solracsf solracsf requested review from ArtificialOwl, icewind1991, leftybournes and salmart-dev and removed request for a team March 18, 2026 16:02
@solracsf solracsf enabled auto-merge March 18, 2026 16:02
@solracsf solracsf disabled auto-merge March 18, 2026 16:06
@solracsf solracsf closed this Mar 18, 2026
@solracsf solracsf deleted the exceptHandDupCode branch March 18, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant