Skip to content

Commit

Permalink
Update error wording for credential validation (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmuesch authored Jun 28, 2019
1 parent fe1f869 commit 65f4808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datadog/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
log.Printf("[ERROR] Datadog Client validation error: %v", err)
return client, err
} else if !ok {
err := errors.New(`No valid credential sources found for Datadog Provider. Please see https://terraform.io/docs/providers/datadog/index.html for more information on providing credentials for the Datadog Provider`)
err := errors.New(`Invalid or missing credentials provided to the Datadog Provider. Please confirm your API and APP keys are valid and see https://terraform.io/docs/providers/datadog/index.html for more information on providing credentials for the Datadog Provider`)
log.Printf("[ERROR] Datadog Client validation error: %v", err)
return client, err
}
Expand Down

0 comments on commit 65f4808

Please sign in to comment.