Skip to content

repo-updater: Return a friendlier error when org not found

Warren Gifford requested to merge github-404 into master

Created by: ryanslade

Fixes https://github.com/sourcegraph/sourcegraph/issues/3983

After digging through a lot of code I decided to make the smallest change I could. We're no worse off as the original error was just a string anyway but now at least the wording can be presented to the user.

I did this instead of propagating the status code up the chain as this would require changes to all code host sources and would also need us to differentiate between orgs or repos not being found.

Merge request reports

Loading