Handle gRPC send errors
Relates to #157 (closed).
With this change, we are getting an error when an agent disconnects, but it's Canceled
and not an Internal
one:
~ kg pods
Error from server (InternalError): an error on the server ("Proxy failed to read response from agent: rpc error: code = Canceled desc = context canceled") has prevented the request from succeeding (get pods)
The root cause of the problem will be addresses separately.
Edited by Mikhail Mazurskiy