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

Add the runtime error tracking mechanism for frontend #12284

Closed
Tracked by #12214
akolson opened this issue Jun 14, 2024 · 3 comments
Closed
Tracked by #12214

Add the runtime error tracking mechanism for frontend #12284

akolson opened this issue Jun 14, 2024 · 3 comments
Assignees
Labels
DEV: backend Python, databases, networking, filesystem... gsoc A GSoC project task

Comments

@akolson
Copy link
Member

akolson commented Jun 14, 2024

Overview

This task implements the runtime error tracking mechanism for the frontend.

Description and outcomes

curl -X POST http://localhost:8000/api/errorreports/report   
       -H "Content-Type: application/json"   
       -d '{
       	    "error_message": "An example error occurred",
       	    "traceback": "Traceback (most recent call last): ..."
     	}' 

Acceptance Criteria

  • All possible runtime exceptions in the frontend are caught.
  • report() is called whenever the error is reported and makes a post request to api/errorreports/report.
  • Appropriate tests are written to verify correctness of implementation.

Assumptions and Dependencies

Scope

  • Implementing report() to make post request.
  • Tracking frontend unhandled errors and calling report().

Accessibility Requirements

NA

Resources

@akolson akolson added DEV: backend Python, databases, networking, filesystem... gsoc A GSoC project task labels Jun 14, 2024
@akolson akolson added this to the Distributed Error Reporting milestone Jun 14, 2024
@akolson
Copy link
Member Author

akolson commented Jun 14, 2024

@thesujai 🙂

@thesujai
Copy link
Contributor

All set to go!

@akolson
Copy link
Member Author

akolson commented Jun 20, 2024

Closed by #12291

@akolson akolson closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: backend Python, databases, networking, filesystem... gsoc A GSoC project task
Projects
None yet
Development

No branches or pull requests

2 participants