diff options
author | John Arthorne | 2008-01-11 21:56:33 +0000 |
---|---|---|
committer | John Arthorne | 2008-01-11 21:56:33 +0000 |
commit | 2005ef554da0509c888443853b412c2c413ca35c (patch) | |
tree | 4b5616ef63447eef355889335ed566ac9b83c74e | |
parent | c12bf4bc9af29c8bcd413400981c8dfff6c4251d (diff) | |
download | rt.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.java | 4 |
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; |