Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Camille
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
Camille
Commits
7ea65073
Commit
7ea65073
authored
1 year ago
by
dgelessus
Browse files
Options
Downloads
Patches
Plain Diff
Log exceptions in applyDiff instead of just printing them to stdout
This way they are visible to normal users.
parent
1957cd7b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
org.eventb.texttools/src/org/eventb/texttools/PersistenceHelper.java
+2
-2
2 additions, 2 deletions
...texttools/src/org/eventb/texttools/PersistenceHelper.java
with
2 additions
and
2 deletions
org.eventb.texttools/src/org/eventb/texttools/PersistenceHelper.java
+
2
−
2
View file @
7ea65073
...
@@ -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
(
Runtime
Exception
e
)
{
System
.
out
.
println
(
"SKIPED:"
+
d
);
TextToolsPlugin
.
getDefault
().
getLog
().
error
(
"Failed to apply diff while saving edit"
,
e
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment