indexzero/forever — Issue #141: 'forever logs' with no process running breaks
Author: kilianc
Created: 2011-10-16 13:29:02+00:00
State: open

```
kBookPro:servers kilian$ forever logs
info: Running action: logs
info: Logs for running Forever processes
error: uncaughtException
error: Cannot call method 'map' of null
error: TypeError: Cannot call method 'map' of null
at /usr/local/lib/node_modules/forever/lib/forever/cli.js:289:36
at /usr/local/lib/node_modules/forever/lib/forever.js:584:5
at /usr/local/lib/node_modules/forever/lib/forever.js:127:14
at getSockets (/usr/local/lib/node_modules/forever/lib/forever.js:82:3)
at getAllProcesses (/usr/local/lib/node_modules/forever/lib/forever.js:125:3)
at Object.list (/usr/local/lib/node_modules/forever/lib/forever.js:583:3)
at listFiles (/usr/local/lib/node_modules/forever/lib/forever/cli.js:287:13)
at Object.logs (/usr/local/lib/node_modules/forever/lib/forever/cli.js:298:12)
at Object.exec (/usr/local/lib/node_modules/forever/lib/forever/cli.js:110:17)
at Object. (/usr/local/lib/node_modules/forever/bin/forever:281:13)