feedzy-rss-feeds
feedzy-rss-feeds copied to clipboard
Add Event System reporting
Summary
By levering Sentry API, two wp actions were added:
themeisle_capture_exception, which map tosentry\captureExceptionthemeisle_capture_message, which map tosentry\captureMessage
[!NOTE] Those will be moved to SDK if everything goes well
The first will be combined with the try...catch structure to monitor runtime issues. The second will log the event of the features (like 3rd party integration) to see if there are bottlenecks (like invalid authentication, invalid responses)
Will affect visual aspect of the product
NO
Check before Pull Request is ready:
- [ ] I have written a test and included it in this PR
- [ ] I have run all tests and they pass
- [ ] The code passes when running the PHP CodeSniffer
- [ ] Code meets WordPress Coding Standards for PHP, HTML, CSS and JS
- [ ] Security and Sanitization requirements have been followed
- [ ] I have assigned a reviewer or two to review this PR (if you're not sure who to assign, we can do this step for you)
Closes https://github.com/Codeinwp/feedzy-rss-feeds-pro/issues/713