diff --git a/pkg/plugins/client.go b/pkg/plugins/client.go index d531fa46fb..cd1d3acad2 100644 --- a/pkg/plugins/client.go +++ b/pkg/plugins/client.go @@ -71,7 +71,7 @@ func (c *Client) callWithRetry(serviceMethod string, args interface{}, ret inter if resp.StatusCode != http.StatusOK { remoteErr, err := ioutil.ReadAll(resp.Body) if err != nil { - return nil + return fmt.Errorf("Plugin Error: %s", err) } return fmt.Errorf("Plugin Error: %s", remoteErr) }