[Groonga-commit] groonga/gcs [master] Output details of error

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 15 14:05:05 JST 2012


YUKI Hiroshi	2012-10-15 14:05:05 +0900 (Mon, 15 Oct 2012)

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

  Log:
    Output details of error

  Modified files:
    lib/command-line.js

  Modified: lib/command-line.js (+1 -1)
===================================================================
--- lib/command-line.js    2012-10-15 14:04:44 +0900 (e13a032)
+++ lib/command-line.js    2012-10-15 14:05:05 +0900 (66b7fbe)
@@ -119,7 +119,7 @@ CommandLineInterface.prototype = {
     var domainName = this.domainName;
     this.cloudSearch.DescribeDomains(function(error, data) {
       if (error) {
-        console.log('Unexpected error: ' + error);
+        console.log('Unexpected error: ' + JSON.stringify(error));
         process.exit(1);
       }
       var matchedDomains = DescribeDomainsResponse
-------------- next part --------------
HTML����������������������������...
Download 



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