Skip to content

Commit d6fd1da

Browse files
committed
Fix comment
1 parent b29b0d0 commit d6fd1da

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

core/src/main/java/org/elasticsearch/index/engine/InternalEngine.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1927,10 +1927,9 @@ protected void doRun() throws Exception {
19271927

19281928
/**
19291929
* If the specified throwable is a fatal error, this exception will be thrown. Callers should ensure that there are no catch statements
1930-
* that would catch an error in the stack as the fatal error here should go uncaught and be handled by
1931-
* {@link org.elasticsearch.bootstrap.ElasticsearchUncaughtExceptionHandler}. If the specified throwable is indeed a fatal error, the
1932-
* specified message will attempt to be logged before throwing the fatal error. If the specified throwable is not a fatal error, this
1933-
* method is a no-op.
1930+
* that would catch an error in the stack as the fatal error here should go uncaught and be handled by the uncaught exception handler
1931+
* that we install during bootstrap. If the specified throwable is indeed a fatal error, the specified message will attempt to be logged
1932+
* before throwing the fatal error. If the specified throwable is not a fatal error, this method is a no-op.
19341933
*
19351934
* @param maybeMessage the message to maybe log
19361935
* @param maybeFatal the throwable that is maybe fatal

0 commit comments

Comments
 (0)