cdir icon indicating copy to clipboard operation
cdir copied to clipboard

fails on cdir'ing a req object

Open neiled opened this issue 13 years ago • 2 comments

Got this whilst trying to use it on a req object. Let me know if you want more details about the req.

node.js:201 throw e; // process.nextTick error, or 'error' event on first tick ^ TypeError: Object.keys called on non-object at Function.keys (native) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:284:20) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:321:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at constructMeta (/usr/local/lib/node_modules/cdir/cdir.js:343:11) at Array.0 (/usr/local/lib/node_modules/cdir/cdir.js:690:5)

neiled avatar May 17 '12 21:05 neiled

can you gist the req obj?

heapwolf avatar May 18 '12 02:05 heapwolf

Let me know if you need anything other than console.log(req);

https://gist.github.com/2723587

neiled avatar May 18 '12 06:05 neiled