Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2008-09-09 17:36:49 -0400
committerspingel2008-09-09 17:36:49 -0400
commit27224c77b408f86b717f8899d2e6f3d79518a449 (patch)
tree4d2ab2014fdc19093a3e8918f572ad84060d36c5
parent7703f5f40c56f60f5ab7bf5dc7cc251ee966a12d (diff)
downloadorg.eclipse.mylyn.tasks-27224c77b408f86b717f8899d2e6f3d79518a449.tar.gz
org.eclipse.mylyn.tasks-27224c77b408f86b717f8899d2e6f3d79518a449.tar.xz
org.eclipse.mylyn.tasks-27224c77b408f86b717f8899d2e6f3d79518a449.zip
RESOLVED - bug 237714: notify user about externalization errors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=237714
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/externalization/AbstractExternalizationParticipant.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/externalization/AbstractExternalizationParticipant.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/externalization/AbstractExternalizationParticipant.java
index faf8ce9e7..df90ff117 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/externalization/AbstractExternalizationParticipant.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/externalization/AbstractExternalizationParticipant.java
@@ -81,10 +81,10 @@ public abstract class AbstractExternalizationParticipant implements IExternaliza
return true;
} catch (CoreException e) {
if (dataFile != null) {
- StatusHandler.log(new Status(IStatus.WARNING, ITasksCoreConstants.ID_PLUGIN, "Failed to load "
- + dataFile.getName() + ", restoring from snapshot"));
File backup = new File(dataFile.getParentFile(), SNAPSHOT_PREFIX + dataFile.getName());
if (backup.exists()) {
+ StatusHandler.log(new Status(IStatus.WARNING, ITasksCoreConstants.ID_PLUGIN, "Failed to load "
+ + dataFile.getName() + ", restoring from snapshot", e));
load(backup, monitor);
return true;
}

Back to the top