|  | @@ -146,22 +146,25 @@ class Install(install.install, EggNameMixin):
 | 
	
		
			
				|  |  |    def run(self):
 | 
	
		
			
				|  |  |      if self.use_grpc_custom_bdist:
 | 
	
		
			
				|  |  |        try:
 | 
	
		
			
				|  |  | -        egg_path = _get_grpc_custom_bdist_egg(self.egg_name(True),
 | 
	
		
			
				|  |  | -                                              self.egg_name(False))
 | 
	
		
			
				|  |  | -      except CommandError as error:
 | 
	
		
			
				|  |  | -        sys.stderr.write(
 | 
	
		
			
				|  |  | -            '\nWARNING: Failed to acquire grpcio prebuilt binary:\n'
 | 
	
		
			
				|  |  | -            '{}.\n\n'.format(error.message))
 | 
	
		
			
				|  |  | -        raise
 | 
	
		
			
				|  |  | -      try:
 | 
	
		
			
				|  |  | -        self._run_bdist_retrieval_install(egg_path)
 | 
	
		
			
				|  |  | -      except Exception as error:
 | 
	
		
			
				|  |  | -        # if anything else happens (and given how there's no way to really know
 | 
	
		
			
				|  |  | -        # what's happening in setuptools here, I mean *anything*), warn the user
 | 
	
		
			
				|  |  | -        # and fall back to building from source.
 | 
	
		
			
				|  |  | -        sys.stderr.write(
 | 
	
		
			
				|  |  | -            '{}\nWARNING: Failed to install grpcio prebuilt binary.\n\n'
 | 
	
		
			
				|  |  | -                .format(traceback.format_exc()))
 | 
	
		
			
				|  |  | +        try:
 | 
	
		
			
				|  |  | +          egg_path = _get_grpc_custom_bdist_egg(self.egg_name(True),
 | 
	
		
			
				|  |  | +                                                self.egg_name(False))
 | 
	
		
			
				|  |  | +        except CommandError as error:
 | 
	
		
			
				|  |  | +          sys.stderr.write(
 | 
	
		
			
				|  |  | +              '\nWARNING: Failed to acquire grpcio prebuilt binary:\n'
 | 
	
		
			
				|  |  | +              '{}.\n\n'.format(error.message))
 | 
	
		
			
				|  |  | +          raise
 | 
	
		
			
				|  |  | +        try:
 | 
	
		
			
				|  |  | +          self._run_bdist_retrieval_install(egg_path)
 | 
	
		
			
				|  |  | +        except Exception as error:
 | 
	
		
			
				|  |  | +          # if anything else happens (and given how there's no way to really know
 | 
	
		
			
				|  |  | +          # what's happening in setuptools here, I mean *anything*), warn the user
 | 
	
		
			
				|  |  | +          # and fall back to building from source.
 | 
	
		
			
				|  |  | +          sys.stderr.write(
 | 
	
		
			
				|  |  | +              '{}\nWARNING: Failed to install grpcio prebuilt binary.\n\n'
 | 
	
		
			
				|  |  | +                  .format(traceback.format_exc()))
 | 
	
		
			
				|  |  | +          raise
 | 
	
		
			
				|  |  | +      except Exception:
 | 
	
		
			
				|  |  |          install.install.run(self)
 | 
	
		
			
				|  |  |      else:
 | 
	
		
			
				|  |  |        install.install.run(self)
 |