Skip to content
Snippets Groups Projects
Commit 7ea65073 authored by dgelessus's avatar dgelessus
Browse files

Log exceptions in applyDiff instead of just printing them to stdout

This way they are visible to normal users.
parent 1957cd7b
Branches
Tags
No related merge requests found
...@@ -167,8 +167,8 @@ public class PersistenceHelper { ...@@ -167,8 +167,8 @@ public class PersistenceHelper {
try { try {
if (d.getState() != DifferenceState.MERGED) if (d.getState() != DifferenceState.MERGED)
evbMerger.copyRightToLeft(d,null); evbMerger.copyRightToLeft(d,null);
} catch(Exception e) { } catch (RuntimeException e) {
System.out.println("SKIPED:"+d); TextToolsPlugin.getDefault().getLog().error("Failed to apply diff while saving edit", e);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment