We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sentry-ruby/sentry-ruby/lib/sentry-ruby.rb
Lines 401 to 420 in 0fe8d27
The get_current_scope will return nil before initialized then the with_child_span will failed.
get_current_scope
nil
with_child_span
require 'sentry-ruby' # May raise exception if Sentry not ready Sentry.with_child_span do |child_span| # ... end
Ignore the span until Sentry is ready.
Raised UndefinedMethod error
UndefinedMethod
2.7.6
5.3.0
Sequel
No response
The text was updated successfully, but these errors were encountered:
@elct9620 Thanks for reporting this 😄 I've added #1819 to address it.
Sorry, something went wrong.
st0012
Successfully merging a pull request may close this issue.
Issue Description
sentry-ruby/sentry-ruby/lib/sentry-ruby.rb
Lines 401 to 420 in 0fe8d27
The
get_current_scope
will returnnil
before initialized then thewith_child_span
will failed.Reproduction Steps
Expected Behavior
Ignore the span until Sentry is ready.
Actual Behavior
Raised
UndefinedMethod
errorRuby Version
2.7.6
SDK Version
5.3.0
Integration and Its Version
Sequel
Sentry Config
No response
The text was updated successfully, but these errors were encountered: