implemented error handling for AppVeyor