Skip to content

Commit

Permalink
Merge pull request #187 from jwcesign/dev
Browse files Browse the repository at this point in the history
chore: print error beautiful
  • Loading branch information
jwcesign authored Feb 4, 2025
2 parents 8d8d6de + d7ad221 commit b5a5c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/instance/instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func createAutoProvisioningGroupResponseHandler(resp *ecsclient.CreateAutoProvis

launchResults := resp.Body.LaunchResults.LaunchResult
if len(launchResults) == 0 {
return fmt.Errorf("no launch results found in response: %s", tea.Prettify(resp))
return fmt.Errorf("no launch results found in response: %s", tea.Prettify(resp.Body.String()))
}

launchResult := launchResults[0]
Expand Down

0 comments on commit b5a5c8e

Please sign in to comment.