{"action":"created","issue":{"url":"https://api.github.com/repos/espadrine/sc/issues/43","repository_url":"https://api.github.com/repos/espadrine/sc","labels_url":"https://api.github.com/repos/espadrine/sc/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/espadrine/sc/issues/43/comments","events_url":"https://api.github.com/repos/espadrine/sc/issues/43/events","html_url":"https://github.com/espadrine/sc/issues/43","id":144871813,"number":43,"title":"TypeError: Cannot read property 'toString' of undefined","user":{"login":"jankeromnes","id":599268,"avatar_url":"https://avatars.githubusercontent.com/u/599268?v=3","gravatar_id":"","url":"https://api.github.com/users/jankeromnes","html_url":"https://github.com/jankeromnes","followers_url":"https://api.github.com/users/jankeromnes/followers","following_url":"https://api.github.com/users/jankeromnes/following{/other_user}","gists_url":"https://api.github.com/users/jankeromnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jankeromnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankeromnes/subscriptions","organizations_url":"https://api.github.com/users/jankeromnes/orgs","repos_url":"https://api.github.com/users/jankeromnes/repos","events_url":"https://api.github.com/users/jankeromnes/events{/privacy}","received_events_url":"https://api.github.com/users/jankeromnes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T11:47:34Z","updated_at":"2016-04-01T04:19:25Z","closed_at":"2016-03-31T22:43:54Z","body":"With camp v16.0.1 on node v5.6.0, this crashed my server:\r\n\r\n    node_modules/camp/lib/camp.js:152\r\n            var strquery = chunks.toString();\r\n                             ^\r\n    \r\n    TypeError: Cannot read property 'toString' of undefined\r\n        at IncomingMessage.<anonymous> (node_modules/camp/lib/camp.js:152:30)\r\n        at emitNone (events.js:80:13)\r\n        at IncomingMessage.emit (events.js:179:7)\r\n        at endReadableNT (_stream_readable.js:906:12)\r\n        at nextTickCallbackWith2Args (node.js:475:9)\r\n        at process._tickCallback (node.js:389:17)\r\n\r\nMaybe using `String(chunks || '')` could solve this? Or add a check like the `chunks === undefined` above."},"comment":{"url":"https://api.github.com/repos/espadrine/sc/issues/comments/204241979","html_url":"https://github.com/espadrine/sc/issues/43#issuecomment-204241979","issue_url":"https://api.github.com/repos/espadrine/sc/issues/43","id":204241979,"user":{"login":"jankeromnes","id":599268,"avatar_url":"https://avatars.githubusercontent.com/u/599268?v=3","gravatar_id":"","url":"https://api.github.com/users/jankeromnes","html_url":"https://github.com/jankeromnes","followers_url":"https://api.github.com/users/jankeromnes/followers","following_url":"https://api.github.com/users/jankeromnes/following{/other_user}","gists_url":"https://api.github.com/users/jankeromnes/gists{/gist_id}","starred_url":"https://api.github.com/users/jankeromnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankeromnes/subscriptions","organizations_url":"https://api.github.com/users/jankeromnes/orgs","repos_url":"https://api.github.com/users/jankeromnes/repos","events_url":"https://api.github.com/users/jankeromnes/events{/privacy}","received_events_url":"https://api.github.com/users/jankeromnes/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T04:19:25Z","updated_at":"2016-04-01T04:19:25Z","body":":+1: thanks!"}}