[Groonga-commit] nroonga/nroonga at 2b42c83 [master] Fix to set undefined in case of error

Back to archive index

abetomo null+****@clear*****
Thu Sep 21 15:58:25 JST 2017


abetomo	2017-09-21 15:58:25 +0900 (Thu, 21 Sep 2017)

  New Revision: 2b42c83e1e420ef7371b523e38c6727fc49b994b
  https://github.com/nroonga/nroonga/commit/2b42c83e1e420ef7371b523e38c6727fc49b994b

  Merged 5a6fc95: Merge pull request #28 from abetomo/fix_to_parse_json_with_addon

  Message:
    Fix to set undefined in case of error

  Modified files:
    src/nroonga.cc

  Modified: src/nroonga.cc (+1 -1)
===================================================================
--- src/nroonga.cc    2017-09-21 15:56:41 +0900 (763f552)
+++ src/nroonga.cc    2017-09-21 15:58:25 +0900 (88d2a3c)
@@ -114,7 +114,7 @@ void Database::CommandAfter(uv_work_t* req) {
   if (baton->error) {
     argv[0] = v8::Exception::Error(
         Nan::New(baton->context.errbuf).ToLocalChecked());
-    argv[1] = Nan::Null();
+    argv[1] = Nan::Undefined();
   } else {
     argv[0] = Nan::Null();
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20170921/30a00b9a/attachment-0001.htm 



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