Skip to content

Conversation

@Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Sep 19, 2025

detected this by activating n/callback-return

but i dont want to add that rule, because then we maybe have some discussions...

So if you think we should add the rule, then please remark it.

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@Uzlopak Uzlopak requested a review from Copilot September 19, 2025 13:52
Copy link
Contributor

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 missing return statement after an error callback in the ProxyAgent class to prevent code execution from continuing after an error condition.

  • Adds a return statement after the error callback when proxy response status is not 200
  • Prevents subsequent code execution after the error callback is invoked

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

@Uzlopak Uzlopak merged commit b2684de into main Sep 19, 2025
28 checks passed
@Uzlopak Uzlopak deleted the add-return branch September 19, 2025 14:10
@github-actions github-actions bot mentioned this pull request Jan 5, 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.

3 participants