diff --git a/rqd/rqd/rqdservicers.py b/rqd/rqd/rqdservicers.py index 324a5a51a..6740e02c8 100644 --- a/rqd/rqd/rqdservicers.py +++ b/rqd/rqd/rqdservicers.py @@ -68,6 +68,10 @@ def KillRunningFrame(self, request, context): if frame: frame.kill(message=request.message) else: + context.set_details( + "The requested frame to kill was not found. frameId: {}".format( + request.frameId)) + context.set_code(grpc.StatusCode.NOT_FOUND) log.warning("Wasn't able to find frame(%s) to kill", request.frame_id) return rqd.compiled_proto.rqd_pb2.RqdStaticKillRunningFrameResponse()