diff --git a/cmd/ci_run_test.go b/cmd/ci_run_test.go index 22ed6e6f..6c3782e3 100644 --- a/cmd/ci_run_test.go +++ b/cmd/ci_run_test.go @@ -123,7 +123,7 @@ func Test_getCIRunOptions(t *testing.T) { []string{}, nil, // https://gitlab.com/zaquestion/test project ID "", - "gitlab project not found", + "gitlab project not found, verify you have access to the requested resource", }, } diff --git a/internal/gitlab/gitlab.go b/internal/gitlab/gitlab.go index 009f9a5a..2d31a6af 100644 --- a/internal/gitlab/gitlab.go +++ b/internal/gitlab/gitlab.go @@ -25,7 +25,7 @@ import ( var ( // ErrProjectNotFound is returned when a GitLab project cannot be found. - ErrProjectNotFound = errors.New("gitlab project not found") + ErrProjectNotFound = errors.New("gitlab project not found, verify you have access to the requested resource") ) var (