mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-17 07:47:57 -04:00
fix: test
This commit is contained in:
parent
2de6a45ca1
commit
58819b6361
@ -210,7 +210,7 @@ public final class AsyncTaskExecutor extends TaskExecutor {
|
||||
if (resolved instanceof Exception) {
|
||||
Exception e = (Exception) resolved;
|
||||
if (e instanceof InterruptedException || e instanceof CancellationException) {
|
||||
task.setException(e);
|
||||
task.setException(null);
|
||||
if (task.getSignificance().shouldLog()) {
|
||||
Logging.LOG.log(Level.FINE, "Task aborted: " + task.getName());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user