Skip to content

Conversation

@Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Dec 10, 2025

Explanation

This adds a deprecation notice to the error reporting service, which can be replaced with Messenger.captureException.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Deprecates @metamask/error-reporting-service and directs consumers to use Messenger.captureException, updating README/CHANGELOG and adding JSDoc deprecation notices to the service, action type, and method.

  • Deprecation
    • Mark @metamask/error-reporting-service as deprecated in README.md with warning and link to Messenger.captureException.
    • Add deprecation entry to CHANGELOG.md.
  • Code annotations
    • Add @deprecated JSDoc to ErrorReportingService, ErrorReportingServiceCaptureExceptionAction, and captureException method in src/error-reporting-service.ts, recommending Messenger.captureException.

Written by Cursor Bugbot for commit f3fedc9. This will update automatically on new commits. Configure here.

@Mrtenz Mrtenz marked this pull request as ready for review December 10, 2025 09:35
@Mrtenz Mrtenz requested a review from a team as a code owner December 10, 2025 09:35
@Mrtenz Mrtenz added this pull request to the merge queue Dec 12, 2025
Merged via the queue into main with commit 21b1dbf Dec 12, 2025
282 checks passed
@Mrtenz Mrtenz deleted the mrtenz/deprecate-error-reporting-service branch December 12, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants