Alterando index.php inserindo try/catch