Index: grpc/prpc/client.go |
diff --git a/grpc/prpc/client.go b/grpc/prpc/client.go |
index 971a8c01f6bae1d62769616e0c2aa11a7e234b92..d958196853179f0420a34661e89150446f3b3316 100644 |
--- a/grpc/prpc/client.go |
+++ b/grpc/prpc/client.go |
@@ -204,8 +204,7 @@ func (c *Client) CallRaw(ctx context.Context, serviceName, methodName string, in |
} |
if err != nil { |
// Treat all errors here as transient. |
- return errors.Annotate(err).Reason("failed to send request"). |
- Tag(transient.Tag).Err() |
+ return errors.Annotate(err, "failed to send request").Tag(transient.Tag).Err() |
} |
if options.resHeaderMetadata != nil { |