Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Unify Net::HTTP and Faraday implementations #2360
Unify Net::HTTP and Faraday implementations #2360
Changes from all commits
be43f1f
3549d8d
04dde2d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 32 in sentry-ruby/lib/sentry/faraday.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/faraday.rb#L32
Check warning on line 42 in sentry-ruby/lib/sentry/faraday.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/faraday.rb#L42
Check warning on line 45 in sentry-ruby/lib/sentry/faraday.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/faraday.rb#L45
Check warning on line 49 in sentry-ruby/lib/sentry/faraday.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/faraday.rb#L49
Check warning on line 62 in sentry-ruby/lib/sentry/faraday.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/faraday.rb#L62
Check warning on line 39 in sentry-ruby/lib/sentry/net/http.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/net/http.rb#L39
Check warning on line 44 in sentry-ruby/lib/sentry/net/http.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/net/http.rb#L43-L44
Check warning on line 47 in sentry-ruby/lib/sentry/net/http.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/net/http.rb#L46-L47
Check warning on line 51 in sentry-ruby/lib/sentry/net/http.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/net/http.rb#L50-L51
Check warning on line 54 in sentry-ruby/lib/sentry/net/http.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/net/http.rb#L54
Check warning on line 11 in sentry-ruby/lib/sentry/utils/http_tracing.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/utils/http_tracing.rb#L7-L11
Check warning on line 15 in sentry-ruby/lib/sentry/utils/http_tracing.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/utils/http_tracing.rb#L15
Check warning on line 19 in sentry-ruby/lib/sentry/utils/http_tracing.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/utils/http_tracing.rb#L19
Check warning on line 26 in sentry-ruby/lib/sentry/utils/http_tracing.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/utils/http_tracing.rb#L26
Check warning on line 30 in sentry-ruby/lib/sentry/utils/http_tracing.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/utils/http_tracing.rb#L30
Check warning on line 34 in sentry-ruby/lib/sentry/utils/http_tracing.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/utils/http_tracing.rb#L34
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sl0thentr0py given that direct access to the configuration is not thread-safe, we could have a method for checking configuration values that would perform this additonal
initialize?
check, something like:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel free to to add a helper but the semantics of that (truthy or falsey?) are not always clean.
Check warning on line 37 in sentry-ruby/lib/sentry/utils/http_tracing.rb
Codecov / codecov/patch
sentry-ruby/lib/sentry/utils/http_tracing.rb#L37