diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-04-20 20:24:19 +0200 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-04-21 16:23:11 -0700 |
commit | bde26a62bfeb70b642b04bed401c03ba6f1de936 (patch) | |
tree | d4dacde943d95ebf55707c0578629c9f8b3da268 /src | |
parent | 9077b482718b8bc6cafcabcd6b84e99498918b26 (diff) | |
download | android-node-v8-bde26a62bfeb70b642b04bed401c03ba6f1de936.tar.gz android-node-v8-bde26a62bfeb70b642b04bed401c03ba6f1de936.tar.bz2 android-node-v8-bde26a62bfeb70b642b04bed401c03ba6f1de936.zip |
src: remove TODO about uv errno removal
This commit removes a TODO regarding the removal of uv errno. errno
is currently used and cannot be removed so removing the comment to
avoid any confusion.
PR-URL: https://github.com/nodejs/node/pull/12536
Ref: https://github.com/nodejs/node/issues/4641
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/node.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node.cc b/src/node.cc index 3efcfee2c7..748e1ee4f3 100644 --- a/src/node.cc +++ b/src/node.cc @@ -940,8 +940,6 @@ Local<Value> UVException(Isolate* isolate, Local<Object> e = Exception::Error(js_msg)->ToObject(isolate); - // TODO(piscisaureus) errno should probably go; the user has no way of - // knowing which uv errno value maps to which error. e->Set(env->errno_string(), Integer::New(isolate, errorno)); e->Set(env->code_string(), js_code); e->Set(env->syscall_string(), js_syscall); |