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

Confusing error message when using on.repository #33778

Closed
malomarrec opened this issue Apr 12, 2022 · 2 comments · Fixed by #35023
Closed

Confusing error message when using on.repository #33778

malomarrec opened this issue Apr 12, 2022 · 2 comments · Fixed by #35023
Assignees
Labels
batch-changes Issues related to Batch Changes estimate/0.5d good first issue Good for newcomers

Comments

@malomarrec
Copy link
Contributor

Current state

When using on.repository, if is not a valid repository path

on:
  - repository: repo-name

Batch Changes returns:

Error:
   resolving repositories: resolving "r:repo-name": no repository found

This error is not very clear or helpful:

  • it looks like a search error, that tells the user that the repo-name does not exist
  • it does not point users to the resolution (repository should be a codehost.com/repo-name path)

Proposed state

Improve the error handling to allow users to trace down the issue.

@malomarrec malomarrec added the batch-changes Issues related to Batch Changes label Apr 12, 2022
@LawnGnome
Copy link
Contributor

We think this is src-cli only.

@adeola-ak
Copy link
Contributor

I believe SSBC error for this operation may also not be clear enough
Resolving "r:sourcegraph": repo not found: name="sourcegraph"

Think I will fix both to be the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
batch-changes Issues related to Batch Changes estimate/0.5d good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants