nodejitsu/jitsu — Issue #157: [flatiron] `jitsu whoami` throws an error
Author: jesusabdullah
Created: 2012-02-16 20:17:07+00:00
State: open

```

% jitsu whoami
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command whoami
{
"process": {
"pid": 21217,
"uid": 1000,
"gid": 1000,
"cwd": "/home/josh/dev/nodejitsu/jitsu",
"execPath": "/usr/local/bin/node",
"version": "v0.6.10",
"argv": [
"node",
"/usr/local/bin/jitsu",
"whoami"
],
"memoryUsage": {
"rss": 34492416,
"heapTotal": 27692544,
"heapUsed": 15588400
}
},
"os": {
"loadavg": [
0.076171875,
0.416015625,
0.38037109375
],
"uptime": 492501.034841508
},
"trace": [
{
"column": 24,
"file": "/home/josh/dev/nodejitsu/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/winston/lib/winston/exception.js",
"function": "Object.getAllInfo",
"line": 19,
"method": "getAllInfo",
"native": false
},
{
"column": 24,
"file": "Object]._uncaughtException (/home/josh/dev/nodejitsu/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/winston/lib/winston/logger.js",
"function": "[object",
"line": 405,
"method": null,
"native": false
},
{
"column": null,
"file": null,
"function": "",
"line": null,
"method": null,
"native": true
},
{
"column": 20,
"file": "events.js",
"function": "EventEmitter.emit",
"line": 88,
"method": "emit",
"native": false
},
{
"column": 21,
"file": "timers.js",
"function": "Timer.ontimeout",
"line": 97,
"method": "ontimeout",
"native": false
}
],
"stack": [
"TypeError: Cannot call method 'split' of undefined",
" at Object.getAllInfo (/home/josh/dev/nodejitsu/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/winston/lib/winston/exception.js:19:24)",
" at [object Object]._uncaughtException (/home/josh/dev/nodejitsu/jitsu/node_modules/flatiron/node_modules/broadway/node_modules/winston/lib/winston/logger.js:405:24)",
" at EventEmitter. (native)",
" at EventEmitter.emit (events.js:88:20)",
" at Timer.ontimeout (timers.js:97:21)"
],
"level": "error",
"message": "uncaughtException"
}
```