src: missing Exception::Error in node_http_parser

Fixes: 75adde07f9
PR-URL: https://github.com/nodejs/node/pull/2550
Reviewed-By: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
Jeremiah Senkpiel authored and Rod Vagg committed 2015-08-27 10:52:11 +10:00
1 parent 34de90194b
commit 13fd96dda3
1 file changed
+1 -1
+1 -1
View File
@@ -443,7 +443,7 @@ class Parser : public BaseObject {
if (rv != 0) {
enum http_errno err = HTTP_PARSER_ERRNO(&parser->parser_);
Local<Value> e = env->parse_error_string();
Local<Value> e = Exception::Error(env->parse_error_string());
Local<Object> obj = e->ToObject(env->isolate());
obj->Set(env->bytes_parsed_string(), Integer::New(env->isolate(), 0));
obj->Set(env->code_string(),