Skip to content

Commit

Permalink
Merge pull request #22 from kinow/describe-error-when-credential-null
Browse files Browse the repository at this point in the history
Better error description when credential is null
  • Loading branch information
mchugh19 committed Apr 17, 2016
2 parents 311cefc + 5eed229 commit f6d42b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/waytta/SaltAPIBuilder.java
Expand Up @@ -596,7 +596,7 @@ public FormValidation doTestConnection(
}

if (usedCredential == null) {
return FormValidation.error("CredentialId error: " + usedCredential);
return FormValidation.error("CredentialId error: no credential found with given ID.");
}

if (!servername.matches("\\{\\{\\w+\\}\\}")) {
Expand Down

0 comments on commit f6d42b6

Please sign in to comment.