Skip to content

Files API returns Internal Server Error for incorrect class names #12

@davidcorbin

Description

@davidcorbin

Expected Behavior

Should return a human readable error like Course not found.

Actual Behavior

Currently returns

{
    "date": 123412341234,
    "message": "Internal server error"
}

Steps to Reproduce the Problem

  1. Send a GET request to the endpoint with a malformed class name: http :8080/1/class/BIOL101/files
  2. Returns an Internal server error

Specifications

  • Version: Latest (0.3 SNAPSHOT)
  • Platform: All

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions