I'm attempting to get a page to load after a 500 server error when a SOAP call fails to authenticate. I still need the page to load and currently it just displays my loading animation indefinitely since the footer contains the script to hide the loader, which never gets to the page because of the 500 error. I'd like to catch the error, and echo out a message telling users who to contact if they get this error, while still loading the body of the page.