finn pushed to branch finn/improve-cas-logging at BuildGrid / buildgrid
Commits:
-
6470c369
by Finn at 2018-10-03T14:00:33Z
2 changed files:
Changes:
... | ... | @@ -52,7 +52,7 @@ class ActionCacheService(remote_execution_pb2_grpc.ActionCacheServicer): |
52 | 52 |
context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
|
53 | 53 |
|
54 | 54 |
except NotFoundError as e:
|
55 |
- self.logger.info(e)
|
|
55 |
+ self.logger.debug(e)
|
|
56 | 56 |
context.set_code(grpc.StatusCode.NOT_FOUND)
|
57 | 57 |
|
58 | 58 |
return remote_execution_pb2.ActionResult()
|
... | ... | @@ -47,7 +47,8 @@ class ReferenceStorageService(buildstream_pb2_grpc.ReferenceStorageServicer): |
47 | 47 |
context.set_details(str(e))
|
48 | 48 |
context.set_code(grpc.StatusCode.INVALID_ARGUMENT)
|
49 | 49 |
|
50 |
- except NotFoundError:
|
|
50 |
+ except NotFoundError as e:
|
|
51 |
+ self.logger.debug(e)
|
|
51 | 52 |
context.set_code(grpc.StatusCode.NOT_FOUND)
|
52 | 53 |
|
53 | 54 |
return buildstream_pb2.GetReferenceResponse()
|