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 instructions on setting this up.