diff --git a/handler/handler.go b/handler/handler.go
index 8ca9a05d72229a6ebf7d0b46e96e9ac4f2efa944..cab0f6487e963f05134504aea8d1c5008949275b 100644
--- a/handler/handler.go
+++ b/handler/handler.go
@@ -121,8 +121,8 @@ func (s *KeyStorageServerImpl) GetKey(ctx context.Context, in *api.GetKeyRequest
 		log.Println("No such key " + in.Uuid)
 		getKeyResponse.Key = nil
 		getKeyResponse.StatusList = utils.AddStatus(getKeyResponse.StatusList,
-			"500", api.StatusType_ERROR, err.Error())
-		return getKeyResponse, err
+			"500", api.StatusType_ERROR, "No such key " + in.Uuid)
+		return getKeyResponse, errors.New("No such key " + in.Uuid)
 	}
 
 	getKeyResponse.Key = key