[Groonga-commit] droonga/droonga-http-server at a006cf2 [master] Detect not a instance of "NotInstalledAsServiceError" correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Sep 29 12:44:13 JST 2014


YUKI Hiroshi	2014-09-29 12:44:13 +0900 (Mon, 29 Sep 2014)

  New Revision: a006cf2d40cc8b37b16b8f4ee2a1301fd6317802
  https://github.com/droonga/droonga-http-server/commit/a006cf2d40cc8b37b16b8f4ee2a1301fd6317802

  Message:
    Detect not a instance of "NotInstalledAsServiceError" correctly

  Modified files:
    bin/droonga-http-server-configure

  Modified: bin/droonga-http-server-configure (+1 -1)
===================================================================
--- bin/droonga-http-server-configure    2014-09-29 12:32:59 +0900 (2b226b7)
+++ bin/droonga-http-server-configure    2014-09-29 12:44:13 +0900 (d0a79d9)
@@ -31,7 +31,7 @@ NotInstalledAsServiceError.prototype = {
   message: 'not installed as a service'
 };
 NotInstalledAsServiceError.isInstance = function(error) {
-  return error.message.indexOf(this.prototype.message) > -1;
+  return String(error.message).indexOf(this.prototype.message) > -1;
 };
 
 
-------------- next part --------------
HTML����������������������������...
Download 



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