diff options
author | 2016-03-10 17:52:19 -0800 | |
---|---|---|
committer | 2016-03-10 17:52:19 -0800 | |
commit | 1d2933a5b91ab750f6e1853b46e50c3404784b5c (patch) | |
tree | a451c0a46b4e218f58286dfeb252e071e8ffe3b7 /src/node | |
parent | 0e65fb36f24bceb05b51a9970068d6ba6b1f409d (diff) | |
parent | fbdf51b07e56d0794776e40bc3a4a054e1883f0e (diff) |
Merge branch 'master' into node_bad_message_handling
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/README.md | 2 | ||||
-rw-r--r-- | src/node/src/client.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/node/README.md b/src/node/README.md index b46b986243..3501b54a66 100644 --- a/src/node/README.md +++ b/src/node/README.md @@ -5,7 +5,7 @@ Beta ## PREREQUISITES -- `node`: This requires `node` to be installed. If you instead have the `nodejs` executable on Debian, you should install the [`nodejs-legacy`](https://packages.debian.org/sid/nodejs-legacy) package. +- `node`: This requires `node` to be installed, version `0.12` or above. If you instead have the `nodejs` executable on Debian, you should install the [`nodejs-legacy`](https://packages.debian.org/sid/nodejs-legacy) package. ## INSTALLATION diff --git a/src/node/src/client.js b/src/node/src/client.js index 81299b337c..2459e28321 100644 --- a/src/node/src/client.js +++ b/src/node/src/client.js @@ -411,7 +411,7 @@ function makeUnaryRequestFunction(method, serialize, deserialize) { } } if (status.code !== grpc.status.OK) { - error = new Error(response.status.details); + error = new Error(status.details); error.code = status.code; error.metadata = status.metadata; callback(error); |