usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject usergrid git commit: Added some additional logging to point to places where this error might occur.
Date Wed, 06 Jan 2016 23:17:26 GMT
Repository: usergrid
Updated Branches:
  refs/heads/USERGRID-767 a0b8b0342 -> b15359161


Added some additional logging to point to places where this error might occur.


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

Branch: refs/heads/USERGRID-767
Commit: b15359161110ed1eec83ab251f311eba7691612e
Parents: a0b8b03
Author: George Reyes <grey@apache.org>
Authored: Wed Jan 6 15:17:21 2016 -0800
Committer: George Reyes <grey@apache.org>
Committed: Wed Jan 6 15:17:21 2016 -0800

----------------------------------------------------------------------
 stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/b1535916/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java b/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
index 0d26395..314f9aa 100644
--- a/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
+++ b/stack/rest/src/main/java/org/apache/usergrid/rest/ApiResponse.java
@@ -184,7 +184,7 @@ public class ApiResponse {
         error = code;
         if ( e instanceof UncaughtException ) {
             errorId = ((UncaughtException) e).getTimeUUID();
-            errorDescription = "Internal Server Error";
+            errorDescription = "Internal Server Error: "+e.getMessage();
             exception = UncaughtException.class.getName();
         } else {
             errorDescription = description;


Mime
View raw message