Added error handling to teamcity fetcher