Skip to content

Commit

Permalink
Don't rethrow exceptions from SingleDocumentMongoChangeStreamReceiver…
Browse files Browse the repository at this point in the history
….close()
  • Loading branch information
prdoyle committed Mar 30, 2023
1 parent 5192cfa commit 4ab956e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ public void close() {
// }
} catch (Throwable t) {
LOGGER.error("Exception attempting to close {}", identityString, t);
throw t;
// No exception that happens while closing is worth terminating for
// throw t;
}
} else {
LOGGER.debug("Already closed: {}", identityString);
Expand Down

0 comments on commit 4ab956e

Please sign in to comment.