Skip to content

Improve logout error handling and prevent runtime exceptionsUpdate authAPI.js#405

Closed
Rishabhjain610 wants to merge 1 commit into
santanu-atta03:mainfrom
Rishabhjain610:fix-logout-reference-error
Closed

Improve logout error handling and prevent runtime exceptionsUpdate authAPI.js#405
Rishabhjain610 wants to merge 1 commit into
santanu-atta03:mainfrom
Rishabhjain610:fix-logout-reference-error

Conversation

@Rishabhjain610

Copy link
Copy Markdown

Description

Improved logout error handling to prevent runtime exceptions and provide more robust handling of API failures.

Related Issue

Closes #404

Changes Made

  • Normalized logout error handling.
  • Added safe access for error properties.
  • Prevented runtime exceptions during logout failures.
  • Preserved existing logout functionality.

Checklist

  • Tested locally
  • No functional regressions
  • Linked the related issue

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

@Rishabhjain610 is attempting to deploy a commit to the santanu-atta03's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@Rishabhjain610 Rishabhjain610 closed this by deleting the head repository Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Fix ReferenceError in logout catch block

1 participant