Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

docs: improve error (#14055)

Danny Xudbc1a971f74d
diff --git a/backend/api/v1/org_policy_service.go b/backend/api/v1/org_policy_service.go
index 569c3df164..82b744d673 100644
--- a/backend/api/v1/org_policy_service.go
+++ b/backend/api/v1/org_policy_service.go
@@ -335,7 +335,7 @@ func (s *OrgPolicyService) findActiveProject(ctx context.Context, find *store.Fi
return nil, status.Error(codes.Internal, err.Error())
}
if project == nil {
- return nil, status.Errorf(codes.NotFound, "project %v not found", find)
+ return nil, status.Errorf(codes.NotFound, "project not found")
}
return project, nil
}