racker/devopsjson — Issue #8: catch SyntaxError
Author: diN0bot
Created: 2012-02-23 22:35:36+00:00
State: open

This input

```
{'name':'hi', 'links':[], description:'d', 'contacts':[], 'environments':[]}
```

Causes this output rather than an html page

```
SyntaxError: Unexpected token ILLEGAL
at Object.parse (native)
at /Users/lucy/raxbox/devopsjson/lib/web/app.js:44:44
at callbacks (/Users/lucy/raxbox/devopsjson/node_modules/express/lib/router/index.js:272:11)
at param (/Users/lucy/raxbox/devopsjson/node_modules/express/lib/router/index.js:246:11)
at pass (/Users/lucy/raxbox/devopsjson/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/Users/lucy/raxbox/devopsjson/node_modules/express/lib/router/index.js:280:4)
at Object.handle (/Users/lucy/raxbox/devopsjson/node_modules/express/lib/router/index.js:45:10)
at next (/Users/lucy/raxbox/devopsjson/node_modules/express/node_modules/connect/lib/http.js:203:15)
at next (/Users/lucy/raxbox/devopsjson/node_modules/express/node_modules/connect/lib/http.js:182:50)
at next (/Users/lucy/raxbox/devopsjson/node_modules/express/node_modules/connect/lib/http.js:182:50)
```

It seems likely that someone will copy/paste without the quotes
.