-
Notifications
You must be signed in to change notification settings - Fork 28
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
Catch errors and log in _dispose
in PluginContext
#325
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #325 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 37 37
Lines 2774 2779 +5
=========================================
+ Hits 2774 2779 +5 ☔ View full report in Codecov by Sentry. |
@lucyleeow thanks for opening! The failures are unrelated and I think should be addressed in a separate PR. However, it would be good to add a test for the dispose bit to get coverage back up to 100 |
@DragaDoncila I think this is ready for review now, test added! |
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.
awesome, thanks @lucyleeow!
Maybe this could go in now...? |
When running the dispose functions in
_dispose
inPluginContext
, catch errors and log instead of raising.Suggested by Talley in: pyapp-kit/app-model#147 (comment)