A custom error page can be created in order to capture the details of the runtime error.
Please see article 
How to Create a Custom Error Page (includes video demo) for how to set this up.