edulinq / autograder-server

A server to automatically grading coding assignments.
MIT License
4 stars 5 forks source link

Better API Error Responses #50

Closed eriq-augustine closed 1 month ago

eriq-augustine commented 9 months ago

(This is a joint issue with the Python frontend.)

There are several errors (and classes of errors) that could you better (more explanatory) output.

For example, when there is an LMS error caused by an error return from an LMS API endpoint. We currently just respond with a standard API error, but we may want to respond with more information like the error status from the LMS.

Err on the side of caution and review the need for more information on a case-by-case basis. Be more lenient when the endpoint requires >= grader.

eriq-augustine commented 1 month ago

The newer API standard metadata is good enough for this.