Skip to content
Snippets Groups Projects
Commit 2cc1ed94 authored by murgatroid99's avatar murgatroid99
Browse files

Fixed typo in argument error message

parent 8c4607fe
No related branches found
No related tags found
No related merge requests found
......@@ -516,7 +516,7 @@ NAN_METHOD(Call::New) {
propagate_flags = args[5]->Uint32Value();
} else if (!(args[5]->IsUndefined() || args[5]->IsNull())) {
return NanThrowTypeError(
"Call's fifth argument must be propagate flags, if provided");
"Call's sixth argument must be propagate flags, if provided");
}
Handle<Object> channel_object = args[0]->ToObject();
Channel *channel = ObjectWrap::Unwrap<Channel>(channel_object);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment