Skip to content

fix: remove useless catch in client-h1.js#4481

Merged
Uzlopak merged 2 commits intomainfrom
remove-unused-catch
Sep 1, 2025
Merged

fix: remove useless catch in client-h1.js#4481
Uzlopak merged 2 commits intomainfrom
remove-unused-catch

Conversation

@Uzlopak
Copy link
Contributor

@Uzlopak Uzlopak commented Aug 28, 2025

If we just rethrow then we can remove the catch anyway. sonarjs shows useless-catch error

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@metcoder95
Copy link
Member

CI seems not happy

@Uzlopak
Copy link
Contributor Author

Uzlopak commented Aug 30, 2025

@metcoder95

Fail is now unrelated to this PR. PTAL

@Uzlopak Uzlopak merged commit 7893665 into main Sep 1, 2025
51 of 53 checks passed
@Uzlopak Uzlopak deleted the remove-unused-catch branch September 1, 2025 06:53
@github-actions github-actions bot mentioned this pull request Sep 9, 2025
slagiewka pushed a commit to slagiewka/undici that referenced this pull request Feb 14, 2026
* fix: remove useless catch in client-h1.js

* Apply suggestions from code review
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.

2 participants