Skip to content

Commit

Permalink
fixup! server: wrap error from GetOrchInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
kyriediculous committed May 6, 2021
1 parent 5ccdc6b commit b2f2071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ func startOrchestratorClient(uri *url.URL) (net.OrchestratorClient, *grpc.Client
grpc.WithBlock(),
grpc.WithTimeout(GRPCConnectTimeout))
if err != nil {
glog.Errorf("Did not connect to orch=%v err=%v", uri, err)
return nil, nil, fmt.Errorf("Did not connect to orch=%v err=%v", uri, err)
return nil, nil, errors.Wrapf(err, "Did not connect to orch=%v", uri)

}
c := net.NewOrchestratorClient(conn)

Expand Down

0 comments on commit b2f2071

Please sign in to comment.