diff --git a/src/async_wrap.cc b/src/async_wrap.cc index c5b3e48b8104b5..5eda1d4b35e66e 100644 --- a/src/async_wrap.cc +++ b/src/async_wrap.cc @@ -338,7 +338,7 @@ static void PromiseHook(PromiseHookType type, Local promise, if (type == PromiseHookType::kBefore) { env->async_hooks()->push_async_ids( wrap->get_async_id(), wrap->get_trigger_async_id()); - wrap->EmitTraceEventBefore(); + wrap->EmitTraceEventBefore(); AsyncWrap::EmitBefore(wrap->env(), wrap->get_async_id()); } else if (type == PromiseHookType::kAfter) { wrap->EmitTraceEventAfter();