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

Allow java exceptions as capture type in JRuby (#2043) #2044

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

richard-kramer
Copy link
Contributor

@richard-kramer richard-kramer commented May 17, 2023

This should fix the problems described in #2043. It should now be possible to directly capture exceptions originating in Java when running in JRuby.

I'm not entirely sure, if the implementation is clean enough, and am open for feedback. I based it on something similar in sentry/raven.

@richard-kramer
Copy link
Contributor Author

richard-kramer commented Jun 7, 2023

Sorry for bothering, but could someone review this or leave a comment on further proceedings?

@st0012, @sl0thentr0py you seem like the most active recent contributors.

@st0012
Copy link
Collaborator

st0012 commented Jun 7, 2023

Sorry for the delay. Yeah I think the implementation is reasonable.
Just one small request: can you make changelog's changes limit to the new entry?

@st0012 st0012 added this to the 5.10.0 milestone Jun 7, 2023
@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Patch coverage: 66.66% and project coverage change: -0.02 ⚠️

Comparison is base (91308d3) 83.20% compared to head (1072f40) 83.19%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2044      +/-   ##
==========================================
- Coverage   83.20%   83.19%   -0.02%     
==========================================
  Files         119      119              
  Lines        5651     5653       +2     
==========================================
+ Hits         4702     4703       +1     
- Misses        949      950       +1     
Impacted Files Coverage Δ
sentry-ruby/lib/sentry/hub.rb 58.64% <66.66%> (-0.14%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@richard-kramer
Copy link
Contributor Author

richard-kramer commented Jun 7, 2023

Oh, I'm sorry. Seems, like I didn't notice my formatter formatting the whole file 🙈. Should be fixed now.

@richard-kramer richard-kramer force-pushed the 2043_allow_java_exceptions branch 2 times, most recently from 20106ad to a71c897 Compare June 7, 2023 10:42
Copy link
Collaborator

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

Thank you 👍

@st0012 st0012 merged commit a231150 into getsentry:master Jun 7, 2023
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.

2 participants