diff --git a/index.js b/index.js index 0e5e9d9..82feddb 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ var sep = path.sep var active = new Map() var hook = asyncHooks.createHook({ init (asyncId, type) { - if (type === 'TIMERWRAP') return + if (type === 'TIMERWRAP' || type === 'PROMISE') return var err = new Error('whatevs') var stacks = stackback(err) active.set(asyncId, {type, stacks})