File tree Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Expand file tree Collapse file tree 3 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ class ModuleWrap;
91
91
V (contextify_global_private_symbol, " node:contextify:global" ) \
92
92
V (decorated_private_symbol, " node:decorated" ) \
93
93
V (npn_buffer_private_symbol, " node:npnBuffer" ) \
94
- V (processed_private_symbol, " node:processed" ) \
95
94
V (selected_npn_buffer_private_symbol, " node:selectedNpnBuffer" ) \
96
95
V (domain_private_symbol, " node:domain" ) \
97
96
Original file line number Diff line number Diff line change @@ -1629,16 +1629,6 @@ void AppendExceptionLine(Environment* env,
1629
1629
Local<Object> err_obj;
1630
1630
if (!er.IsEmpty () && er->IsObject ()) {
1631
1631
err_obj = er.As <Object>();
1632
-
1633
- auto context = env->context ();
1634
- auto processed_private_symbol = env->processed_private_symbol ();
1635
- // Do it only once per message
1636
- if (err_obj->HasPrivate (context, processed_private_symbol).FromJust ())
1637
- return ;
1638
- err_obj->SetPrivate (
1639
- context,
1640
- processed_private_symbol,
1641
- True (env->isolate ()));
1642
1632
}
1643
1633
1644
1634
// Print (filename):(line number): (message).
Original file line number Diff line number Diff line change @@ -701,9 +701,7 @@ class ContextifyScript : public BaseObject {
701
701
compile_options);
702
702
703
703
if (v8_script.IsEmpty ()) {
704
- if (display_errors) {
705
- DecorateErrorStack (env, try_catch);
706
- }
704
+ DecorateErrorStack (env, try_catch);
707
705
try_catch.ReThrow ();
708
706
return ;
709
707
}
You can’t perform that action at this time.
0 commit comments