From 13fd96dda31a14dbea23dca7fd00cc0125f78384 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Tue, 25 Aug 2015 18:48:15 -0400 Subject: [PATCH] src: missing Exception::Error in node_http_parser Fixes: 75adde07f9a2de7f38a67bec72bd377d450bdb52 PR-URL: https://github.com/nodejs/node/pull/2550 Reviewed-By: Fedor Indutny --- src/node_http_parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_http_parser.cc b/src/node_http_parser.cc index 6c5d76ecf6cc95..ef87f26229ff6c 100644 --- a/src/node_http_parser.cc +++ b/src/node_http_parser.cc @@ -443,7 +443,7 @@ class Parser : public BaseObject { if (rv != 0) { enum http_errno err = HTTP_PARSER_ERRNO(&parser->parser_); - Local e = env->parse_error_string(); + Local e = Exception::Error(env->parse_error_string()); Local obj = e->ToObject(env->isolate()); obj->Set(env->bytes_parsed_string(), Integer::New(env->isolate(), 0)); obj->Set(env->code_string(),