Skip to content

Commit

Permalink
Register global onErrorDropped hook with reactor that bubbles runtime
Browse files Browse the repository at this point in the history
exceptions
  • Loading branch information
johnrengelman committed Feb 14, 2022
1 parent 61ea32f commit 9f8ff13
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ private ReactorRatpack() {
* }</pre>
*/
public static void initialize() {
// This is required after upgrading reactor 3.3.7 -> 3.4.14
// Due to https://github.com/reactor/reactor-core/issues/1431
Hooks.onErrorDropped(reactor.core.Exceptions::bubble);
Hooks.onLastOperator(ErrorForwarding::decorate);
}

Expand Down

0 comments on commit 9f8ff13

Please sign in to comment.