d51322c95b
refs https://github.com/TryGhost/Product/issues/3832 --- <!-- Leave the line below if you'd like GitHub Copilot to generate a summary from your commit --> <!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at d434b20</samp> This pull request refactors the error handling logic in various components of the admin-x-settings app to use a custom hook called `useHandleError`. This hook wraps the Sentry integration and provides a consistent and reliable way of reporting and logging errors. This improves the code quality, readability, and maintainability of the app. The pull request also improves the Sentry initialization by passing the DSN and the environment to the `ServicesProvider` component. |
||
---|---|---|
.. | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
signup-form | ||
sodo-search |