You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2018/02/23 07:26:50 UTC

[sling-org-apache-sling-installer-core] branch master updated: SLING-7467 : JcrInstaller fails to startup if wrong sling:OsgiConfig is present

This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c2032d  SLING-7467 : JcrInstaller fails to startup if wrong sling:OsgiConfig is present
1c2032d is described below

commit 1c2032dce046ebd4856d9e2a36e41e398882d992
Author: Carsten Ziegeler <cz...@adobe.com>
AuthorDate: Fri Feb 23 08:26:33 2018 +0100

    SLING-7467 : JcrInstaller fails to startup if wrong sling:OsgiConfig is present
---
 .../java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java b/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java
index be27bba..49a0a17 100644
--- a/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java
+++ b/src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java
@@ -373,8 +373,8 @@ implements OsgiInstaller, ResourceChangeListener, RetryHandler, InfoProvider, Ru
                     final InternalResource rr = InternalResource.create(scheme, r);
                     createdResources.add(rr);
                     logger.debug("Registering new resource: {}", rr);
-                } catch (final IOException ioe) {
-                    logger.warn("Cannot create InternalResource (resource will be ignored):" + r, ioe);
+                } catch (final Exception e) {
+                    logger.warn("Cannot create InternalResource (resource will be ignored):" + r, e);
                 }
             }
         }

-- 
To stop receiving notification emails like this one, please contact
cziegeler@apache.org.