Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: simplify request error handling #3364

Merged
merged 4 commits into from
Jun 25, 2024
Merged

refactor: simplify request error handling #3364

merged 4 commits into from
Jun 25, 2024

Conversation

ronag
Copy link
Member

@ronag ronag commented Jun 23, 2024

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@ronag ronag requested a review from metcoder95 June 23, 2024 17:17
@mcollina
Copy link
Member

Can you add a test?

@ronag
Copy link
Member Author

ronag commented Jun 24, 2024

A test for what? It doesn't fix anything.

Copy link
Member

@metcoder95 metcoder95 left a comment

Choose a reason for hiding this comment

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

LGTM.
It seems several tests will need adjustments due to expectations on how the request is aborted

@ronag ronag requested a review from metcoder95 June 25, 2024 05:11
@ronag ronag merged commit 951826c into main Jun 25, 2024
36 checks passed
ronag added a commit to nxtedition/undici that referenced this pull request Jun 25, 2024
* upstream/main:
  fix: ensure onConnect is always called (nodejs#3327)
  refactor: simplify request error handling (nodejs#3364)
@Uzlopak Uzlopak deleted the request-error branch August 1, 2024 09:57
@github-actions github-actions bot mentioned this pull request Dec 3, 2024
This was referenced Dec 16, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants