mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
try to proceed batch inspections after Throwable (IDEA-110920)
This commit is contained in:
+1
-1
@@ -298,7 +298,7 @@ public class GlobalInspectionContextBase extends UserDataHolderBase implements G
|
||||
DumbService.getInstance(myProject).showDumbModeNotification("Usage search is not available until indices are ready");
|
||||
throw new ProcessCanceledException();
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Throwable e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
finally {
|
||||
|
||||
+4
-7
@@ -195,7 +195,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
|
||||
InspectionToolPresentation presentation = getPresentation(toolWrapper);
|
||||
presentation.exportResults(element, refEntity);
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Throwable e) {
|
||||
LOG.error("Problem when exporting: " + refEntity.getExternalName(), e);
|
||||
}
|
||||
}
|
||||
@@ -370,10 +370,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
|
||||
catch (IndexNotReadyException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error("In file: " + file, e);
|
||||
}
|
||||
catch (AssertionError e) {
|
||||
catch (Throwable e) {
|
||||
LOG.error("In file: " + file, e);
|
||||
}
|
||||
finally {
|
||||
@@ -412,7 +409,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
|
||||
catch (IndexNotReadyException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Throwable e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
}
|
||||
@@ -427,7 +424,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
|
||||
catch (IndexNotReadyException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
catch (Throwable e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user