Skip to content

Allow passing backtrace into capture_message#1550

Merged
st0012 merged 2 commits intomasterfrom
implement-#1545
Aug 26, 2021
Merged

Allow passing backtrace into capture_message#1550
st0012 merged 2 commits intomasterfrom
implement-#1545

Conversation

@st0012
Copy link
Copy Markdown
Contributor

@st0012 st0012 commented Aug 26, 2021

Now users can pass their own backtrace when calling Sentry.capture_message:

Sentry.capture_message("msg", backtrace: my_backtrace)

Closes #1545

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 26, 2021

Codecov Report

Merging #1550 (92302a9) into master (4712364) will increase coverage by 0.37%.
The diff coverage is 100.00%.

❗ Current head 92302a9 differs from pull request most recent head 584a8f7. Consider uploading reports for the commit 584a8f7 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1550      +/-   ##
==========================================
+ Coverage   97.91%   98.29%   +0.37%     
==========================================
  Files         222      127      -95     
  Lines       10846     7018    -3828     
==========================================
- Hits        10620     6898    -3722     
+ Misses        226      120     -106     
Impacted Files Coverage Δ
sentry-ruby/lib/sentry/client.rb 97.46% <100.00%> (ø)
sentry-ruby/lib/sentry/hub.rb 100.00% <100.00%> (ø)
sentry-ruby/spec/sentry/hub_spec.rb 100.00% <100.00%> (ø)
...ven/lib/raven/breadcrumbs/active_support_logger.rb
...c/raven/processors/removecirculareferences_spec.rb
sentry-raven/lib/raven/base.rb
...try-raven/lib/sentry_raven_without_integrations.rb
sentry-raven/lib/raven/core_ext/object/deep_dup.rb
sentry-raven/spec/raven/utils/real_ip_spec.rb
sentry-raven/lib/raven/interface.rb
... and 88 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4712364...584a8f7. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alter backtrace for Sentry.capture_message

2 participants