mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not log promise cancellation
GitOrigin-RevId: a6c11f4d5f43491530a55cb2fb48812f2a4712d8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7ce512fdeb
commit
49e30dcd30
@@ -216,7 +216,7 @@ public abstract class Invoker implements Disposable {
|
||||
}
|
||||
|
||||
private void handleTaskError(@NotNull Task<?, ?> task, @NotNull Throwable throwable, int attempt) {
|
||||
if (throwable instanceof ProcessCanceledException || throwable instanceof IndexNotReadyException) {
|
||||
if (throwable instanceof ProcessCanceledException || throwable == AsyncPromise.CANCELED || throwable instanceof IndexNotReadyException) {
|
||||
offerRestart(task, attempt);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user