From 2cc1ed94ab0e4304882a8c2bf5723f949871bb39 Mon Sep 17 00:00:00 2001 From: murgatroid99 Date: Fri, 14 Aug 2015 12:57:00 -0700 Subject: [PATCH] Fixed typo in argument error message --- src/node/ext/call.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/ext/call.cc b/src/node/ext/call.cc index d62ce2aa6cd..705c80ffc1d 100644 --- a/src/node/ext/call.cc +++ b/src/node/ext/call.cc @@ -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 channel_object = args[0]->ToObject(); Channel *channel = ObjectWrap::Unwrap(channel_object);