[Notes] [Git][BuildGrid/buildgrid][mablanch/150-bot-resource-exhausted] bot/interface.py: Better log message on error



Title: GitLab

Martin Blanchard pushed to branch mablanch/150-bot-resource-exhausted at BuildGrid / buildgrid

Commits:

1 changed file:

Changes:

  • buildgrid/bot/interface.py
    ... ... @@ -57,5 +57,5 @@ class BotInterface:
    57 57
             try:
    
    58 58
                 return call(request)
    
    59 59
             except grpc.RpcError as e:
    
    60
    -            self.__logger.error(e.code())
    
    60
    +            self.__logger.error(e)
    
    61 61
                 return e.code()



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