[Groonga-commit] droonga/express-droonga at dec5dea [master] Accept null response

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Sep 5 14:33:56 JST 2013


YUKI Hiroshi	2013-09-05 14:33:56 +0900 (Thu, 05 Sep 2013)

  New Revision: dec5dea8d5b73c106237f347a5f4d25e286a738b
  https://github.com/droonga/express-droonga/commit/dec5dea8d5b73c106237f347a5f4d25e286a738b

  Message:
    Accept null response

  Modified files:
    lib/adapter/wrapper.js

  Modified: lib/adapter/wrapper.js (+1 -1)
===================================================================
--- lib/adapter/wrapper.js    2013-09-05 14:27:56 +0900 (d115437)
+++ lib/adapter/wrapper.js    2013-09-05 14:33:56 +0900 (6b5c2d7)
@@ -8,7 +8,7 @@ DroongaProtocolConnectionWrapper.prototype = {
     if (callback) {
       var originalCallback = callback;
       callback = function(error, response) {
-        originalCallback(error, response.body);
+        originalCallback(error, response && response.body);
       };
     } else {
       callback = this._callback;
-------------- next part --------------
HTML����������������������������...
Download 



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