Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 fallback to directly fetching a project if not found #1946

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

vjeffrey
Copy link
Contributor

No description provided.

}
prj, err := gt.GetProjectById(projectId)
if err != nil {
return nil, nil, errors.New("project not found")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we wrap the original error too so the root cause is not hidden

@vjeffrey vjeffrey force-pushed the vj/fallback-direct-fetch-gitlab-prj branch from 64a09fa to 2ed4fd5 Compare September 27, 2023 14:08
@vjeffrey vjeffrey merged commit cbbde6d into v8 Sep 27, 2023
@vjeffrey vjeffrey deleted the vj/fallback-direct-fetch-gitlab-prj branch September 27, 2023 14:25
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants