added some error handling in app/start/global.php but turned it off for debugging