dylang/logging — Issue #2: TypeError: Illegal access to a strict mode caller function.
Author: brunoqc
Created: 2011-11-09 19:13:14+00:00
State: open

I got this :

/home/bbigras/project/logging/lib/logging.js:83
: (args.name && args.name != 'forEach' ? args.name : calledFrom(args.caller, c
^
TypeError: Illegal access to a strict mode caller function.
at calledFrom (/home/bbigras/project/logging/lib/logging.js:83:107)
at calledFrom (/home/bbigras/project/logging/lib/logging.js:83:92)
at calledFrom (/home/bbigras/project/logging/lib/logging.js:83:92)
at calledFrom (/home/bbigras/project/logging/lib/logging.js:83:92)
at /home/bbigras/project/logging/lib/logging.js:97:74
at /home/bbigras/node-ftp/app.js:323:23
at [object Object].parse (/home/bbigras/project/jsftp/jsftp.js:289:13)
at onElement (/home/bbigras/project/jsftp/node_modules/streamer/streamer.js:184:36)
at Socket. (/home/bbigras/project/jsftp/jsftp.js:239:25)
at Array.forEach (native)

/home/bbigras/node-ftp/app.js:323:23 is

log("- Disconnected");

Other uses of the log() command worked fine.