Skip to content

Avoid-Logging-Known-User-Errors-To-Sentry-And-Amplitude#1614

Open
teg-atlassian wants to merge 1 commit intomainfrom
Avoid-Error-Logging-Known-User-Errors
Open

Avoid-Logging-Known-User-Errors-To-Sentry-And-Amplitude#1614
teg-atlassian wants to merge 1 commit intomainfrom
Avoid-Error-Logging-Known-User-Errors

Conversation

@teg-atlassian
Copy link
Copy Markdown
Contributor

@teg-atlassian teg-atlassian commented Feb 16, 2026

What Is This Change?

This PR removes one type of error from being logged to Amplitude and Sentry.

These are user errors rovodev reports to atlascode By user error we mean, it is up to the user to fix by taking appropriate action such as having a site have rovo dev installed as an app. We, in other PRs, handles these errors gracefully and let the user knows what they need to do. However, In such cases, we don't need to log them to our analytics systems such as Amplitude and Sentry. This PR filters out those user errors from errors that are logged in to Amplitude and Sentry. This PR also refactors the code so that we can avoid redundant code.

How Has This Been Tested?

Basic checks:

  • npm run lint
  • npm run test

Advanced checks:

  • If Atlassian employee & Bitbucket changes: did you test with DC in mind? See Instructions

Recommendations:

  • Update the CHANGELOG if making a user facing change

Rovo Dev couldn't review this pull request
Upgrade to Rovo Dev Standard to continue using code review.

@teg-atlassian teg-atlassian changed the title removed error logging of known user errors Avoid-Error-Logging-Known-User-Errors Feb 16, 2026
@teg-atlassian teg-atlassian changed the title Avoid-Error-Logging-Known-User-Errors Avoid-Logging-Known-User-Errors-To-Sentry-And-Amplitude Feb 16, 2026
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.

1 participant