[Notes] [Git][BuildGrid/buildgrid][master] Downloader._fetch_directory(): fix error handling



Title: GitLab

Santiago Gil pushed to branch master at BuildGrid / buildgrid

Commits:

1 changed file:

Changes:

  • buildgrid/client/cas.py
    ... ... @@ -391,7 +391,7 @@ class Downloader:
    391 391
                 except grpc.RpcError as e:
    
    392 392
                     status_code = e.code()
    
    393 393
                     if status_code == grpc.StatusCode.UNIMPLEMENTED:
    
    394
    -                    _CallCache.mark_unimplemented(self.channel, 'BatchUpdateBlobs')
    
    394
    +                    _CallCache.mark_unimplemented(self.channel, 'GetTree')
    
    395 395
     
    
    396 396
                     elif status_code == grpc.StatusCode.NOT_FOUND:
    
    397 397
                         raise NotFoundError("Requested directory does not exist on the remote.")
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]