UCLOrengoGroup / cath-todo

Issues relating to the CATH protein structure classification web pages
4 stars 0 forks source link

improve the default error page #12

Closed sillitoe closed 8 years ago

sillitoe commented 8 years ago

The default Catalyst error page is really unhelpful - we should be able to catch errors and provide a more useful message for the users.

search-sequence1

sillitoe commented 8 years ago

Cause: This was caused by RESTful controllers providing a customised end method.

Result: was that unexpected errors were not being caught in the same way as other pages - hence the default error page.

Fix: Improved in changeset:18541 (Sep 27, 2016) by using Catalyst::ControllerRole::CatchErrors to check for a custom method to catch errors within REST-based controllers.