Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: remove redundant try-catch from http/https server examples #2195

Merged
merged 1 commit into from
May 10, 2021

Conversation

legendecas
Copy link
Member

Which problem is this PR solving?

  • Remove redundant try-catch from http/https server examples.

Short description of the changes

  • The blocks inside the try-catch are not going to throw anything.

@codecov
Copy link

codecov bot commented May 10, 2021

Codecov Report

Merging #2195 (cb08cd9) into main (9ce9eea) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2195   +/-   ##
=======================================
  Coverage   92.80%   92.80%           
=======================================
  Files         139      139           
  Lines        5003     5003           
  Branches     1030     1030           
=======================================
  Hits         4643     4643           
  Misses        360      360           

Copy link
Member

@obecny obecny left a comment

Choose a reason for hiding this comment

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

lgtm

@obecny obecny added the enhancement New feature or request label May 10, 2021
@obecny obecny merged commit 1218a3c into open-telemetry:main May 10, 2021
@legendecas legendecas deleted the example-http-server branch May 10, 2021 16:51
@dyladan dyladan mentioned this pull request Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants