Skip to content

Commit

Permalink
Fix typo in comment in OpenSearchException (opensearch-project#5265)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ross <andrross@amazon.com>

Signed-off-by: Andrew Ross <andrross@amazon.com>
  • Loading branch information
andrross authored Nov 17, 2022
1 parent 7072025 commit c3b4266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/main/java/org/opensearch/OpenSearchException.java
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,8 @@ public static OpenSearchException[] guessRootCauses(Throwable t) {
* parsing exception because that is generally the most interesting
* exception to return to the user. If that exception is caused by
* an OpenSearchException we'd like to keep unwrapping because
* ElasticserachExceptions tend to contain useful information for
* the user.
* OpenSearchException instances tend to contain useful information
* for the user.
*/
Throwable cause = ex.getCause();
if (cause != null) {
Expand Down

0 comments on commit c3b4266

Please sign in to comment.