casa icon indicating copy to clipboard operation
casa copied to clipboard

Emancipation Checklist api set status code to 500 for errors

Open FireLemons opened this issue 4 years ago • 1 comments

Description When an error occurs for emancipation ajax requests, send the correct HTML Status codes 400s (client errors) 500s (server errors) The emancipation javascript expects to receive errors as 200s range status codes (success) update how errors are handled in app/javascript/src/case_emancipation.js update tests

More about HTML status codes here: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status

FireLemons avatar Sep 18 '21 05:09 FireLemons

@FireLemons can you add more details to what change we want to make here?

compwron avatar Sep 14 '22 02:09 compwron

@GALTdea @ThomasNathan

dpaola2 avatar Feb 27 '23 18:02 dpaola2