Skip to content

Commit

Permalink
[squash] refer to node_errors.h in TODO comment
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed May 13, 2018
1 parent ace4f0e commit 2e92688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_zlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ class ZCtx : public AsyncWrap, public ThreadPoolWork {
Close();
}

// TODO(addaleax): Switch to modern error system.
// TODO(addaleax): Switch to modern error system (node_errors.h).
void Error(const char* message) {
// If you hit this assertion, you forgot to enter the v8::Context first.
CHECK_EQ(env()->context(), env()->isolate()->GetCurrentContext());
Expand Down

0 comments on commit 2e92688

Please sign in to comment.