mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't let recursive PIEAE spoil the diagnostics (PY-20537)
This commit is contained in:
@@ -116,7 +116,12 @@ public class PsiInvalidElementAccessException extends RuntimeException implement
|
||||
String traceText = !isTrackingInvalidation() ? "disabled" :
|
||||
trace != null ? "see attachment" :
|
||||
"no info";
|
||||
reason += " because: " + reason(element) + "\ninvalidated at: " + traceText;
|
||||
try {
|
||||
reason += " because: " + reason(element);
|
||||
}
|
||||
catch (PsiInvalidElementAccessException ignore) {
|
||||
}
|
||||
reason += "\ninvalidated at: " + traceText;
|
||||
}
|
||||
return reason + (message == null ? "" : "; " + message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user