let ProcessCanceledException go through

This commit is contained in:
Dmitry Jemerov
2010-08-18 19:54:36 +04:00
parent 02ff3b7f36
commit 186630d4fd
@@ -16,6 +16,7 @@
package com.intellij.util;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProcessCanceledException;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@@ -41,6 +42,9 @@ public final class ExecutorsQuery<Result, Parameter> extends AbstractQuery<Resul
return false;
}
}
catch (ProcessCanceledException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}