Skip to content

Commit

Permalink
Fix workflow error message (#7813)
Browse files Browse the repository at this point in the history
  • Loading branch information
bduffany authored Oct 28, 2024
1 parent 07918c6 commit 9000f01
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions enterprise/server/api/api_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,6 @@ func (s *APIServer) ExecuteWorkflow(ctx context.Context, req *apipb.ExecuteWorkf
}
rsp, err := wfs.ExecuteWorkflow(ctx, r)
if err != nil {
if status.IsNotFoundError(err) {
return nil, status.NotFoundErrorf("Workflow for repo %s not found. Note that the legacy Workflow product"+
" is not supported for this API. See https://www.buildbuddy.io/docs/workflows-setup/ for more information"+
" on how to correctly setup Workflows.", req.GetRepoUrl())
}
return nil, err
}

Expand Down

0 comments on commit 9000f01

Please sign in to comment.