try and catch in call.php