Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Mitrofanov <mitrofmep@gmail.com>
  • Loading branch information
mitrofmep committed Mar 25, 2023
1 parent 5f81930 commit 0269379
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2904,7 +2904,9 @@ ChannelFactory getChannelFactory() {
void deleteReaderFiles(TranslogReader reader) {
if (fail.fail()) {
// simulate going OOM and dying just at the wrong moment.
throw new RuntimeException("simulated");
RuntimeException e = new RuntimeException("simulated");
tragedy.setTragicException(e);
throw e;
} else {
super.deleteReaderFiles(reader);
}
Expand Down

0 comments on commit 0269379

Please sign in to comment.