[vcs] don't log PCE

GitOrigin-RevId: 5b718e426e093c9a5c844a7c5ba1ece3443a75cb
This commit is contained in:
Ivan Semenov
2025-07-04 19:08:06 +00:00
committed by intellij-monorepo-bot
parent 1f52651317
commit f6df9c59e5
@@ -5,6 +5,7 @@ import com.intellij.openapi.components.PathMacroSubstitutor;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.diff.impl.patch.FilePatch;
import com.intellij.openapi.options.ExternalizableScheme;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.InvalidDataException;
import com.intellij.openapi.util.NlsSafe;
@@ -113,6 +114,9 @@ public final class ShelvedChangeList implements ExternalizableScheme {
}
myChanges = changes;
}
catch (ProcessCanceledException pce) {
throw pce;
}
catch (Throwable e) {
LOG.warn("Failed to parse the file patch: [" + myPath + "]", e);
myChanges = Collections.emptyList();