Skip to content

Commit

Permalink
Add more information to the assertion error on AbstractSearchAsyncAct…
Browse files Browse the repository at this point in the history
…ion#fork

Backport of elastic#66328
  • Loading branch information
fcofdez committed Dec 15, 2020
1 parent 31e259f commit f237fc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ protected void fork(final Runnable runnable) {
executor.execute(new AbstractRunnable() {
@Override
public void onFailure(Exception e) {
assert false : "Unexpected failure";
assert false : new AssertionError(e);
}

@Override
Expand Down

0 comments on commit f237fc5

Please sign in to comment.