You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:34:23 UTC

[sling-org-apache-sling-extensions-webconsolesecurityprovider] 20/24: SLING-3023 - catch and report Exception

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

rombert pushed a commit to annotated tag org.apache.sling.extensions.webconsolesecurityprovider-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-extensions-webconsolesecurityprovider.git

commit 4acdb77e48acb9b9e563e4470cee40d34ef1203a
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Aug 16 11:24:44 2013 +0000

    SLING-3023 - catch and report Exception
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/webconsolesecurityprovider@1514658 13f79535-47bb-0310-9956-ffa450edef68
---
 .../internal/SlingWebConsoleSecurityProvider.java                       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider.java b/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider.java
index 7015833..fcd4c6b 100644
--- a/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider.java
+++ b/src/main/java/org/apache/sling/extensions/webconsolesecurityprovider/internal/SlingWebConsoleSecurityProvider.java
@@ -167,7 +167,7 @@ public class SlingWebConsoleSecurityProvider implements
                     + userName
                     + " failed to authenticate with the repository for Web Console access",
                 re);
-        } catch (RepositoryException re) {
+        } catch (Exception re) {
             log.info("authenticate: Generic problem trying grant User "
                 + userName + " access to the Web Console", re);
         } finally {

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.