[Groonga-commit] groonga/gcs [master] Report stack trace for internal errors

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 16 18:34:18 JST 2012


YUKI Hiroshi	2012-11-16 18:34:18 +0900 (Fri, 16 Nov 2012)

  New Revision: f90d3992f016a5bf3bde13bac9547a55c978b4aa
  https://github.com/groonga/gcs/commit/f90d3992f016a5bf3bde13bac9547a55c978b4aa

  Log:
    Report stack trace for internal errors

  Modified files:
    lib/api/2011-02-01/configuration.js

  Modified: lib/api/2011-02-01/configuration.js (+1 -1)
===================================================================
--- lib/api/2011-02-01/configuration.js    2012-11-16 18:33:35 +0900 (f34c6b1)
+++ lib/api/2011-02-01/configuration.js    2012-11-16 18:34:18 +0900 (41f0a7b)
@@ -598,7 +598,7 @@ exports.createHandler = function(context, config) {
         body = createSenderErrorResponse(error.code, error, request.id);
         code = 400;
       } else {
-        body= createCommonErrorResponse('InternalFailure', error, request.id);
+        body= createCommonErrorResponse('InternalFailure', error.stack || error, request.id);
         code = 500;
       }
       response.contentType('application/xml');
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index