My question is, is there any way to display the error message that caused the failure on the web page.
stackoverflow.com