Skip to content

Commit

Permalink
Don't write stacktraces for StreamExpiredExceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed Dec 26, 2024
1 parent 4a685e2 commit 3207387
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ private static class StreamExpiredException extends RuntimeException {
private final long lastStreamPosition;

private StreamExpiredException(long lastStreamPosition,
@NotNull Exception cause) {
super(cause);
@NotNull Throwable cause) {
super(null, cause, true, false);
this.lastStreamPosition = lastStreamPosition;
}
}
Expand Down

0 comments on commit 3207387

Please sign in to comment.