add rescue helper and logic to redirect to user when github request fails