mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
vcs: do not log PCE
EA-115992 - assert: GitAnnotationProvider.parseAnnotations
This commit is contained in:
@@ -19,6 +19,7 @@ import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.components.ServiceManager;
|
||||
import com.intellij.openapi.diagnostic.Attachment;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.progress.ProcessCanceledException;
|
||||
import com.intellij.openapi.progress.ProgressIndicator;
|
||||
import com.intellij.openapi.progress.ProgressManager;
|
||||
import com.intellij.openapi.progress.util.BackgroundTaskUtil;
|
||||
@@ -327,6 +328,9 @@ public class GitAnnotationProvider implements AnnotationProviderEx {
|
||||
}
|
||||
return new GitFileAnnotation(myProject, file, revision, lines);
|
||||
}
|
||||
catch (ProcessCanceledException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error("Couldn't parse annotation: " + e, new Attachment("output.txt", output));
|
||||
throw new VcsException(e);
|
||||
|
||||
Reference in New Issue
Block a user