usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [40/52] [abbrv] usergrid git commit: Add more info to the log statement when we can't load an application.
Date Mon, 23 May 2016 14:17:23 GMT
Add more info to the log statement when we can't load an application.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/f4c8a01c
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/f4c8a01c
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/f4c8a01c

Branch: refs/heads/asf-site
Commit: f4c8a01cd6854be70f4561926bc73d2d107bd88a
Parents: 46cd401
Author: Michael Russo <mrusso@apigee.com>
Authored: Sat Apr 30 21:50:05 2016 +0800
Committer: Michael Russo <mrusso@apigee.com>
Committed: Sat Apr 30 21:50:05 2016 +0800

----------------------------------------------------------------------
 .../apache/usergrid/corepersistence/ApplicationIdCacheImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/f4c8a01c/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
b/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
index 7403c81..d327607 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
@@ -81,7 +81,7 @@ public class ApplicationIdCacheImpl implements ApplicationIdCache {
             return appCache.get( applicationName.toLowerCase() );
         } catch (Exception e) {
             if (logger.isDebugEnabled()) {
-                logger.debug("Returning for key {} value null", applicationName);
+                logger.debug("Returning for key {} value null due to exception: {}", applicationName,
e);
             }
             return null;
         }


Mime
View raw message