Skip to content

Commit

Permalink
Resume REST Client Reactive request handling on error if suspended
Browse files Browse the repository at this point in the history
  • Loading branch information
michalszynkiewicz committed Aug 19, 2022
1 parent 4a4a9f5 commit 3e7ceb9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,12 @@ public void run() {
}
if (aborted) {
return;
} else if (suspended) {
log.error("Uncaught exception thrown when the request context is suspended. " +
" Resuming the request to unlock processing the error." +
" This may not be appropriate in your situation, please resume the request context when this exception is thrown. ",
t);
resume(t);
}
}
}
Expand Down

0 comments on commit 3e7ceb9

Please sign in to comment.