[Groonga-commit] groonga/gcs [master] Raise error same to synchronous version

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Oct 15 16:57:59 JST 2012


YUKI Hiroshi	2012-10-15 16:57:59 +0900 (Mon, 15 Oct 2012)

  New Revision: 6b9f3c38ba15a803331a1846fc1e1d81be729343
  https://github.com/groonga/gcs/commit/6b9f3c38ba15a803331a1846fc1e1d81be729343

  Log:
    Raise error same to synchronous version

  Modified files:
    lib/command-line.js

  Modified: lib/command-line.js (+2 -0)
===================================================================
--- lib/command-line.js    2012-10-15 16:51:52 +0900 (5039769)
+++ lib/command-line.js    2012-10-15 16:57:59 +0900 (094c9df)
@@ -208,6 +208,8 @@ CommandLineInterface.prototype = {
 
   assertDomainExistsHTTP: function(callback) {
     this.getDomainStatus(this.domainName, function(error, domain) {
+      if (error)
+        self.raiseFatalError('You must specify an existing domain name.');
       callback();
     });
   },
-------------- next part --------------
HTML����������������������������...
Download 



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