Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for changed error response from upstream lib
The upstream gitlab library changed the way it handles 404s returned from the GitLab instance in the way that it now simply returns a sentinel error (see xanzy/go-gitlab@f49ba02#diff-044b5a63fdba539bf87d25040d91912aec34173e76af7b9e0f40d14da57edebeR973-R974) for details. We now need to check for that sentinel error explicitly and return an appropriate gitprovider error type. Signed-off-by: Max Jonas Werner <[email protected]>
- Loading branch information