CDRH / api

Codenamed "Apium": An API to access all public Center for Digital Research in the Humanities resources
https://cdrhdev1.unl.edu/api_frontend
MIT License
3 stars 1 forks source link

500 page #39

Open jduss4 opened 7 years ago

jduss4 commented 7 years ago

Maybe the ideal way to do this would be to use a 500 page for errors, which could get around the multiply rendering template issue. It may also allow us to be more flexible about what we display to users (or less flexible)? Requires investigation, but probably a better idea that displaying the rails error.

jduss4 commented 7 years ago

I made a method called on_error which has the correct format, but we need to figure out a way of getting this to render basically all the time and with the right stuff. I am not sure what the best way is to go about this!