backstrokeapp / backstrokeapp/worker

Nicer error messages when a repository in a link doesn't exist

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Currently, if a repository in a link doesn't exist (likely because the repository was deleted), an error such as the one below is raised:

```
Couldn't search issues on repository foo/bar: {\"message\":\"Validation Failed\",\"errors\":[{\"message\":\"The listed users and repositories cannot be searched either because the resources do not exist or you do not have
permission to view them.\",\"resource\":\"Search\",\"field\":\"q\",\"code\":\"invalid\"}],\"documentation_url\":\"https://developer.github.com/v3/search/\"}
```

Ideally, a better-sounding and nicer error that actually explains what's happening would be returned.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.