Skip to content

Commit

Permalink
Change exception in case of failure
Browse files Browse the repository at this point in the history
  • Loading branch information
rnorth committed May 13, 2018
1 parent 922ada3 commit b9a64ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private AuthConfig authConfigUsingCredentialsStoreOrHelper(String hostName, Json
} else if (!credsStoreName.isMissingNode()) {
return runCredentialProvider(hostName, credsStoreName.asText());
} else {
throw new UnsupportedOperationException();
throw new IllegalStateException("Unsupported Docker config auths settings!");
}
}

Expand Down

0 comments on commit b9a64ea

Please sign in to comment.