Skip to content

Commit

Permalink
Fix Failing to Handle Ex. in TransportShardBulkAction (elastic#40923)
Browse files Browse the repository at this point in the history
* Fixing minor mistake from elastic#39793 here, we should be using `run` so that the `onFailure` path is executed if the first invocation of this `Runnable` fails for an unexpected reason
  • Loading branch information
original-brownbear authored and Gurkan Kaymak committed May 27, 2019
1 parent 25b8f0e commit 09b0217
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ private void finishRequest() {
null, context.getPrimary(), logger));
}

}.doRun();
}.run();
}

/**
Expand Down

0 comments on commit 09b0217

Please sign in to comment.