diff --git a/pkg/platform/api/buildplanner/request/attachstagedcommit.go b/pkg/platform/api/buildplanner/request/attachstagedcommit.go index 7ff8204cd3..48b5620f4f 100644 --- a/pkg/platform/api/buildplanner/request/attachstagedcommit.go +++ b/pkg/platform/api/buildplanner/request/attachstagedcommit.go @@ -31,6 +31,10 @@ mutation ($organization: String!, $project: String!, $parentCommit: ID!, $commit __typename message } + ... on ValidationError { + __typename + message + } ... on Forbidden { __typename message