Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives committed Sep 12, 2024
1 parent fa2fe92 commit a9ac556
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,11 @@ public void onError(Throwable throwable) {

@Override
public void onIgnored() {
onError(new ClientException("The message has been ignored by the server possibly for a previous failure"));
var throwable = termSupplier.get();
if (throwable == null) {
throwable = new ClientException("A message has been ignored during result streaming.");
}
onError(throwable);
}

@Override
Expand Down

0 comments on commit a9ac556

Please sign in to comment.