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 @@ -1301,16 +1301,6 @@ void AppendExceptionLine(Environment* env,
1301
1301
Local<Object> err_obj;
1302
1302
if (!er.IsEmpty () && er->IsObject ()) {
1303
1303
err_obj = er.As <Object>();
1304
-
1305
- auto context = env->context ();
1306
- auto processed_private_symbol = env->processed_private_symbol ();
1307
- // Do it only once per message
1308
- if (err_obj->HasPrivate (context, processed_private_symbol).FromJust ())
1309
- return ;
1310
- err_obj->SetPrivate (
1311
- context,
1312
- processed_private_symbol,
1313
- True (env->isolate ()));
1314
1304
}
1315
1305
1316
1306
// Print (filename):(line number): (message).
Original file line number Diff line number Diff line change @@ -668,9 +668,7 @@ class ContextifyScript : public BaseObject {
668
668
compile_options);
669
669
670
670
if (v8_script.IsEmpty ()) {
671
- if (display_errors) {
672
- DecorateErrorStack (env, try_catch);
673
- }
671
+ DecorateErrorStack (env, try_catch);
674
672
try_catch.ReThrow ();
675
673
return ;
676
674
}
You can’t perform that action at this time.
0 commit comments