-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port #1118 onErrorDropped also logs error, MonoCompletionStage drops
This commit makes the MonoCompletionStage drop errors that are thrown inside the future.whenComplete block (which can happen with fatal exceptions). Additionally, the default onErrorDropped behavior also logs the dropped error. This results in these errors being visible in the logs, where they were previously swallowed by CompletionFuture.whenComplete. This is a backport of #1126 (commit 7e29da8), as tracked in #1111
- Loading branch information
1 parent
5291239
commit 97d110f
Showing
3 changed files
with
42 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters