fix: test
This commit is contained in:
@@ -210,7 +210,7 @@ public final class AsyncTaskExecutor extends TaskExecutor {
|
|||||||
if (resolved instanceof Exception) {
|
if (resolved instanceof Exception) {
|
||||||
Exception e = (Exception) resolved;
|
Exception e = (Exception) resolved;
|
||||||
if (e instanceof InterruptedException || e instanceof CancellationException) {
|
if (e instanceof InterruptedException || e instanceof CancellationException) {
|
||||||
task.setException(e);
|
task.setException(null);
|
||||||
if (task.getSignificance().shouldLog()) {
|
if (task.getSignificance().shouldLog()) {
|
||||||
Logging.LOG.log(Level.FINE, "Task aborted: " + task.getName());
|
Logging.LOG.log(Level.FINE, "Task aborted: " + task.getName());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user