Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refs 3898: add error log endpoint for UI glitchtip #730

Closed
wants to merge 1 commit into from

Conversation

rverdile
Copy link
Contributor

@rverdile rverdile commented Jul 5, 2024

Summary

Adds an endpoint that logs the error sent to it, so that the frontend can send errors to it, and we can get glitchtip notifications for those errors

See content-services/content-sources-frontend#296

POST request to /content-sources/v1/log_error

with the body

{
    "error_title": "UI error",
    "error_details": "an error has occurred [might include stack trace]"
}

Testing steps

  1. Send a POST request with the body above to the new endpoint
  2. In the terminal, you should see an error log

Checklist

  • Tested with snapshotting feature disabled and pulp server URL not configured if appropriate

@jlsherrill
Copy link
Member

@jlsherrill
Copy link
Member

⚠️ This task currently requires qe-approval, but this PR does not fully resolve the task. Please contact QE to determine appropriate testing required.

@rverdile
Copy link
Contributor Author

rverdile commented Jul 8, 2024

closing in favor of waiting for official support

@rverdile rverdile closed this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants