Skip to content

Commit

Permalink
Always preserve target when an exception is thrown
Browse files Browse the repository at this point in the history
Relates to: #21120
  • Loading branch information
geoand committed Nov 1, 2021
1 parent 5c3ec06 commit c7d6a98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void run() {
if (t instanceof PreserveTargetException) {
handleException(t.getCause(), true);
} else {
handleException(t);
handleException(t, true);
}
if (aborted) {
return;
Expand Down

0 comments on commit c7d6a98

Please sign in to comment.