[Groonga-commit] groonga/gcs [master] Remove stacktrace from the error response #119

Back to archive index

Yoji SHIDARA null+****@clear*****
Fri Oct 26 12:02:48 JST 2012


Yoji SHIDARA	2012-10-26 12:02:48 +0900 (Fri, 26 Oct 2012)

  New Revision: 56fded00a6b226833593f94506a8d6f69005cb20
  https://github.com/groonga/gcs/commit/56fded00a6b226833593f94506a8d6f69005cb20

  Log:
    Remove stacktrace from the error response #119

  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-10-24 19:10:47 +0900 (0b7111e)
+++ lib/api/2011-02-01/configuration.js    2012-10-26 12:02:48 +0900 (e6cc909)
@@ -12,7 +12,7 @@ var XMLNS = 'http://cloudsearch.amazonaws.com/doc/2011-02-01';
 
 function createCommonErrorResponse(errorCode, error) {
   if (error.message) {
-    error = error.message + '\n' + error.stack;
+    error = error.message;
   } else {
     error = error.toString();
   }
-------------- next part --------------
HTML����������������������������...
Download 



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