Skip to content

Convert vertx http client 3.0 groovy tests to java#10093

Merged
trask merged 3 commits into
open-telemetry:mainfrom
happyuser23:convert-vertx-http-client-3.0-groovy-test
Dec 21, 2023
Merged

Convert vertx http client 3.0 groovy tests to java#10093
trask merged 3 commits into
open-telemetry:mainfrom
happyuser23:convert-vertx-http-client-3.0-groovy-test

Conversation

@happyuser23

Copy link
Copy Markdown
Contributor

Related to #7195

@happyuser23 happyuser23 requested a review from a team December 18, 2023 16:32
@Override
public int sendRequest(
HttpClientRequest request, String method, URI uri, Map<String, String> headers)
throws InterruptedException {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think you could have throws Exception here and could skip wrapping the exceptions into runtime exception. This in turn should allow removing the setClientSpanErrorMapper call.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Right. Updated.

@trask trask merged commit 46ac349 into open-telemetry:main Dec 21, 2023
@happyuser23 happyuser23 deleted the convert-vertx-http-client-3.0-groovy-test branch December 22, 2023 03:12
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.

4 participants