Skip to content

Commit 13fd96d

Browse files
Fishrock123rvagg
authored andcommitted
src: missing Exception::Error in node_http_parser
Fixes: 75adde0 PR-URL: #2550 Reviewed-By: Fedor Indutny <[email protected]>
1 parent 34de901 commit 13fd96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_http_parser.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ class Parser : public BaseObject {
443443
if (rv != 0) {
444444
enum http_errno err = HTTP_PARSER_ERRNO(&parser->parser_);
445445

446-
Local<Value> e = env->parse_error_string();
446+
Local<Value> e = Exception::Error(env->parse_error_string());
447447
Local<Object> obj = e->ToObject(env->isolate());
448448
obj->Set(env->bytes_parsed_string(), Integer::New(env->isolate(), 0));
449449
obj->Set(env->code_string(),

0 commit comments

Comments
 (0)