aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Alexander Kuppe2013-06-11 15:13:58 (EDT)
committerGerrit Code Review @ Eclipse.org2013-06-18 14:05:14 (EDT)
commitc609be16db5fbe51d9a148f316466e803d41a37d (patch)
tree0fba45a31aa9f359d875c33752b12f227f24bd31
parenteda861d7fb12d41784f4e4243d3008306fe33d8f (diff)
downloadeclipse.platform.ui-c609be16db5fbe51d9a148f316466e803d41a37d.zip
eclipse.platform.ui-c609be16db5fbe51d9a148f316466e803d41a37d.tar.gz
eclipse.platform.ui-c609be16db5fbe51d9a148f316466e803d41a37d.tar.bz2
Bug 403331 - ModelAssembler fails silently if fragment cannot be appliedrefs/changes/56/13756/2
and does not print name of offending bundle https://bugs.eclipse.org/403331
-rw-r--r--bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java
index be217ba..0d9d8db 100644
--- a/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java
+++ b/bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelAssembler.java
@@ -118,7 +118,7 @@ public class ModelAssembler {
try {
resource = resourceSet.getResource(uri, true);
} catch (RuntimeException e) {
- logger.warn(e, "Unable to read model extension"); //$NON-NLS-1$
+ logger.warn(e, "Unable to read model extension from " + uri.toString()); //$NON-NLS-1$
continue;
}
@@ -169,6 +169,8 @@ public class ModelAssembler {
if (merged.size() > 0) {
evalImports = true;
addedElements.addAll(merged);
+ } else {
+ logger.info("Nothing to merge for \"{0}\"", uri); //$NON-NLS-1$
}
}