Skip to content

Fix: Capture Callback Exceptions#990

Merged
denrase merged 18 commits into
mainfrom
fix/capture-callback-exceptions
Sep 12, 2022
Merged

Fix: Capture Callback Exceptions#990
denrase merged 18 commits into
mainfrom
fix/capture-callback-exceptions

Conversation

@denrase

@denrase denrase commented Aug 31, 2022

Copy link
Copy Markdown
Collaborator

📜 Description

Capture and log exceptions thrown in callbacks provided users.

💡 Motivation and Context

All exceptions should be caught and handled gracefully.

Relates to getsentry/team-mobile#21

💚 How did you test it?

Unit tests.

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated the docs if needed
  • All tests passing
  • No breaking changes

@denrase
denrase marked this pull request as ready for review August 31, 2022 10:12
Comment thread CHANGELOG.md
Comment thread dart/test/hub_test.dart Outdated
Comment thread dart/lib/src/hub.dart Outdated
@codecov-commenter

codecov-commenter commented Sep 5, 2022

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.66%. Comparing base (d90ceb9) to head (1162126).
⚠️ Report is 1641 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #990      +/-   ##
==========================================
+ Coverage   89.47%   89.66%   +0.18%     
==========================================
  Files         106      106              
  Lines        3326     3329       +3     
==========================================
+ Hits         2976     2985       +9     
+ Misses        350      344       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread dart/lib/src/hub.dart Outdated
@marandaneto

Copy link
Copy Markdown
Contributor

@denrase there's one broken test.

@denrase
denrase merged commit e1e3e33 into main Sep 12, 2022
@denrase
denrase deleted the fix/capture-callback-exceptions branch September 12, 2022 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants