Closed carolyncole closed 7 years ago
This ticket should set up a template for handling individual errors with unique text. And then have a generic capture as well.
There are 11 errors that show 500 in the application.rb https://github.com/psu-stewardship/scholarsphere/blob/develop/app/controllers/application_controller.rb#L19-L35
We could possibly create code that looks up the wording from an I18N file.
Rescue: Error from #608 Bad rdf , which means bad metadata was entered "We can not process the metadata as entered. This usually occurs when unexpected characters are copied from another source. Try typing your metadata by hand. "
All pages should at least have: "If this error continues please use the <"contact form": link> for assistance uploading your content"
When I create a work And that creation errors Then the error page should load instead of the server error page
A reliable way to reproduce this is to generate a 500 error by uploading a work with the following description.