Skip to content

Commit

Permalink
improve error of no authenticator
Browse files Browse the repository at this point in the history
Change-Id: I738237035438590b8c9414dd1281f950a3f2b7bd
  • Loading branch information
javeme committed Dec 25, 2021
1 parent e8f5c1a commit b450ca6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,9 @@ private void destroyRpcServer() {
}

private HugeAuthenticator authenticator() {
E.checkState(this.authenticator != null, "Unconfigured authenticator");
E.checkState(this.authenticator != null,
"Unconfigured authenticator, please config " +
"auth.authenticator option in rest-server.properties");
return this.authenticator;
}

Expand Down

0 comments on commit b450ca6

Please sign in to comment.