Repository navigation
Context manager monitor - #2290
Conversation
sentrivana
left a comment
There was a problem hiding this comment.
Great job! You are now officially a decorator expert. 🎖️
I've left two comments, please have a look and address before merging.
Other than that, we also need to update the documentation, this page specifically. There's a Suggest an edit to this page link on the very bottom of each docs page that takes you to the source and allows you to directly create a PR to sentry-docs. Alternatively, you can clone https://github.com/getsentry/sentry-docs/, make the changes locally and create a PR as you would for this repo. Someone from our team should then have a look as well as a member of the docs team.
|
We can also create the docs PR together tomorrow if you prefer. |
The
monitordecorator can now also be used as a context manager (with thewithstatement). This PR implements #2273.