Skip to content
Snippets Groups Projects
Commit 9d403f00 authored by Georges Racinet's avatar Georges Racinet
Browse files

Missing repository argument: proper error codes.

As it was uncovered by experimental implementation in RHGitaly of
`RepositoryExists`, it's possible that the `repository` argument
is entirely missing. In that case, we are now raising `ValueError`
internally, and convert it to the gRPC code
`HGitalyServicer.STATUS_CODE_STORAGE_NOT_FOUND`.
parent 215369c1
No related branches found
No related tags found
1 merge request!141Better error compliance and comparison tests refactor
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment