Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion context.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Namespace.prototype.set = function set(key, value) {
Namespace.prototype.get = function get(key) {
if (!this.active) {
if (DEBUG_CLS_HOOKED) {
const asyncHooksCurrentId = async_hooks.currentId();
const asyncHooksCurrentId = async_hooks.executionAsyncId();
const triggerId = async_hooks.triggerAsyncId();
const indentStr = ' '.repeat(this._indent < 0 ? 0 : this._indent);
//debug2(indentStr + 'CONTEXT-GETTING KEY NO ACTIVE NS:' + key + '=undefined' + ' (' + this.name + ') currentUid:' + currentUid + ' active:' + util.inspect(this.active, {showHidden:true, depth:2, colors:true}));
Expand Down