Skip to content

Add error handling to API calls - missing catch blocks #51

@deepsonK

Description

@deepsonK

File: frontend/src/pages/Home.js, Students.js, Courses.js\n\nIssue: Multiple API calls missing catch blocks for error handling\n\nDifficulty: Medium\n\nWhat to fix:\n1. Add .catch() blocks to all axios calls\n2. Store errors in state\n3. Display error messages to user\n4. Handle 404, 500, and network errors

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions