Skip to content

Commit

Permalink
Merge pull request #537 from apigee/issue535
Browse files Browse the repository at this point in the history
fix: adds ts name to the error #535
  • Loading branch information
ssvaidyanathan authored Sep 12, 2024
2 parents b6b58f1 + 0fab988 commit 5f6212d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/targetservers/targetservers.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ func importServers(knownServers map[string]bool, wg *sync.WaitGroup, jobs <-chan
errs <- err
continue
} else if resp.StatusCode/100 != 2 && resp.StatusCode != http.StatusConflict {
errs <- fmt.Errorf("could not import targetserver, apigee responded with HTTP %d: %s", resp.StatusCode, resp.Status)
errs <- fmt.Errorf("could not import targetserver %s, apigee responded with HTTP %d: %s", job.Name, resp.StatusCode, resp.Status)
}

b, err = io.ReadAll(resp.Body)
Expand Down

0 comments on commit 5f6212d

Please sign in to comment.