mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-18 00:10:33 -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) {
|
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());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user