Skip to content

Commit

Permalink
Modify the exception msg
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Jul 13, 2023
1 parent dddb773 commit 34ba58b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static OpenSearchException createBadHeaderException() {
}

public static OpenSearchException invalidUsageOfOBOTokenException() {
return new OpenSearchException("On-Behalf-Token is not allowed to access this endopoint.");
return new OpenSearchException("On-Behalf-Of Token is not allowed to be used for accessing this endopoint.");
}

public static OpenSearchException createTransportClientNoLongerSupportedException() {
Expand Down

0 comments on commit 34ba58b

Please sign in to comment.