feedzy-rss-feeds icon indicating copy to clipboard operation
feedzy-rss-feeds copied to clipboard

Add Event System reporting

Open Soare-Robert-Daniel opened this issue 1 year ago • 0 comments

Summary

By levering Sentry API, two wp actions were added:

  • themeisle_capture_exception, which map to sentry\captureException
  • themeisle_capture_message, which map to sentry\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

Soare-Robert-Daniel avatar Apr 19 '24 14:04 Soare-Robert-Daniel