Skip to content

fix: prevent error when the response dont have data#5552

Merged
vitormattos merged 1 commit intomainfrom
fix/prevent-error-when-the-response-dont-have-data
Oct 13, 2025
Merged

fix: prevent error when the response dont have data#5552
vitormattos merged 1 commit intomainfrom
fix/prevent-error-when-the-response-dont-have-data

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

@vitormattos vitormattos added this to the Next Major (33) milestone Oct 13, 2025
@vitormattos vitormattos self-assigned this Oct 13, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Oct 13, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a potential error when handling HTTP response errors by adding optional chaining to prevent accessing properties on undefined response data.

  • Added optional chaining operators to safely access nested response properties

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/Components/Request/VisibleElements.vue Outdated
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos force-pushed the fix/prevent-error-when-the-response-dont-have-data branch from 5b115d0 to 37e5c8c Compare October 13, 2025 13:40
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit 801c0c1 into main Oct 13, 2025
53 checks passed
@vitormattos vitormattos deleted the fix/prevent-error-when-the-response-dont-have-data branch October 13, 2025 15:18
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Oct 13, 2025
@vitormattos vitormattos removed this from the Next Major (33) milestone Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants