diff --git a/go/vt/vttablet/tabletmanager/orchestrator.go b/go/vt/vttablet/tabletmanager/orchestrator.go index 95e37d2ccde..66d8222d221 100644 --- a/go/vt/vttablet/tabletmanager/orchestrator.go +++ b/go/vt/vttablet/tabletmanager/orchestrator.go @@ -139,13 +139,13 @@ func (orc *orcClient) InActiveShardRecovery(tablet *topodatapb.Tablet) (bool, er resp, err := orc.apiGet("audit-recovery", "alias", alias) if err != nil { - return false, err + return false, fmt.Errorf("error calling Orchestrator API: %v", err) } var r []map[string]interface{} if err := json.Unmarshal(resp, &r); err != nil { - return false, err + return false, fmt.Errorf("error parsing JSON response from Orchestrator: %v; response: %q", err, string(resp)) } // Orchestrator returns a 0-length response when it has no history of recovery on this cluster.