Page MenuHomeSoftware Heritage

Fix HTTP status code for internal server errors

Authored by anlambert on Nov 5 2019, 2:59 PM.



Ensure that an HTTP status code equal to 500 is returned in case of internal
server error when querying the swh Web API.

Also add a test to check returned status codes and update some.

Diff Detail

rDWAPPS Web applications
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert created this revision.Nov 5 2019, 2:59 PM
vlorentz accepted this revision.Nov 5 2019, 3:03 PM


This revision is now accepted and ready to land.Nov 5 2019, 3:03 PM
This revision was landed with ongoing or failed builds.Nov 5 2019, 3:05 PM
This revision was automatically updated to reflect the committed changes.