Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 13fd96d

Browse filesBrowse files
Fishrock123rvagg
authored andcommitted
src: missing Exception::Error in node_http_parser
Fixes: 75adde0 PR-URL: #2550 Reviewed-By: Fedor Indutny <fedor@indutny.com>
1 parent 34de901 commit 13fd96d
Copy full SHA for 13fd96d

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/node_http_parser.cc‎

Copy file name to clipboardExpand all lines: src/node_http_parser.cc
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.