Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2008-01-11 21:56:33 +0000
committerJohn Arthorne2008-01-11 21:56:33 +0000
commit2005ef554da0509c888443853b412c2c413ca35c (patch)
tree4b5616ef63447eef355889335ed566ac9b83c74e
parentc12bf4bc9af29c8bcd413400981c8dfff6c4251d (diff)
downloadrt.equinox.p2-2005ef554da0509c888443853b412c2c413ca35c.tar.gz
rt.equinox.p2-2005ef554da0509c888443853b412c2c413ca35c.tar.xz
rt.equinox.p2-2005ef554da0509c888443853b412c2c413ca35c.zip
log failure to load a repository
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java
index 68fa88cbb..bdcd4643f 100644
--- a/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.metadata.repository/src/org/eclipse/equinox/internal/p2/metadata/repository/MetadataRepositoryManager.java
@@ -306,7 +306,9 @@ public class MetadataRepositoryManager implements IMetadataRepositoryManager {
if (factory != null)
return factory.load(location, monitor.newChild(10));
} catch (ProvisionException e) {
- //this extension couldn't load at that location - keep trying with other factories
+ if (e.getStatus().getCode() != ProvisionException.REPOSITORY_NOT_FOUND)
+ log("Unable to load repository: " + location, e); //$NON-NLS-1$
+ //keep trying with other factories
}
}
return null;

Back to the top