I’m attempting to run a script that involves a few things including reloading the page itself over and over. Sometimes I’ll get a server has gone away error using the DB class and this causes the script to stop. I would like to know if there’s a way to catch the error and force a page reload. I’ve attempted to use a try catch in php with no success.