You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by mr...@apache.org on 2016/04/30 15:50:13 UTC

usergrid git commit: Add more info to the log statement when we can't load an application.

Repository: usergrid
Updated Branches:
  refs/heads/release-2.1.1 46cd401de -> f4c8a01cd


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/release-2.1.1
Commit: f4c8a01cd6854be70f4561926bc73d2d107bd88a
Parents: 46cd401
Author: Michael Russo <mr...@apigee.com>
Authored: Sat Apr 30 21:50:05 2016 +0800
Committer: Michael Russo <mr...@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;
         }