Skip to content
Snippets Groups Projects
Commit fd9834d7 authored by Georges Racinet's avatar Georges Racinet :squid:
Browse files

MercurialRepository.Push: improved error treatment

- we want `PeerInitException` to be about initialization of peer
  only. This entails a few requests already (capabilities, etc.)
- we need to explicitely catch all other errors in `Push()`.
  I actually believe that `grpc` would convert every uncatched
  error into an `INTERNAL`, so that the server does not stop, but
  it's best not to depend on it, and it gives us a way to have
  a more explicit message (error was not in the push itself)
parent bd3911e6
No related branches found
No related tags found
1 merge request!89MercurialRepositoryService.Push
Pipeline #29465 passed
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