[git] do not ignore PCE, but rather re-throw it
authorJulia Beliaeva <Julia.Beliaeva@jetbrains.com>
Mon, 10 Oct 2016 16:50:47 +0000 (19:50 +0300)
committerJulia Beliaeva <Julia.Beliaeva@jetbrains.com>
Tue, 11 Oct 2016 16:32:30 +0000 (19:32 +0300)
plugins/git4idea/src/git4idea/history/GitHistoryUtils.java

index d88c7bbf73e3479f4e1ed90e8e55c7f1fb6c0aeb..b2f721479513103c61c8ed4b6973b1e9cf7edda7 100644 (file)
@@ -516,7 +516,8 @@ public class GitHistoryUtils {
           recordConsumer.consume(record);
         }
       }
-      catch (ProcessCanceledException ignored) {
+      catch (ProcessCanceledException pce) {
+        throw pce;
       }
       catch (Throwable t) {
         if (parseError.isNull()) {