{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/4112","labels_url":"https://api.github.com/repos/nodejs/node/issues/4112/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/4112/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/4112/events","html_url":"https://github.com/nodejs/node/pull/4112","id":119848222,"number":4112,"title":"src: don't print garbage errors","user":{"login":"cjihrig","id":2512748,"avatar_url":"https://avatars.githubusercontent.com/u/2512748?v=3","gravatar_id":"","url":"https://api.github.com/users/cjihrig","html_url":"https://github.com/cjihrig","followers_url":"https://api.github.com/users/cjihrig/followers","following_url":"https://api.github.com/users/cjihrig/following{/other_user}","gists_url":"https://api.github.com/users/cjihrig/gists{/gist_id}","starred_url":"https://api.github.com/users/cjihrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjihrig/subscriptions","organizations_url":"https://api.github.com/users/cjihrig/orgs","repos_url":"https://api.github.com/users/cjihrig/repos","events_url":"https://api.github.com/users/cjihrig/events{/privacy}","received_events_url":"https://api.github.com/users/cjihrig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/c++","name":"c++","color":"e11d21"},{"url":"https://api.github.com/repos/nodejs/node/labels/lts-watch-v4.x","name":"lts-watch-v4.x","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-02T01:40:15Z","updated_at":"2015-12-05T07:35:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/4112","html_url":"https://github.com/nodejs/node/pull/4112","diff_url":"https://github.com/nodejs/node/pull/4112.diff","patch_url":"https://github.com/nodejs/node/pull/4112.patch"},"body":"If JS throws an object whose `toString()` method throws, then Node attempts to print an empty message, but actually prints garbage. This commit checks for this case, and prints a newline instead.\r\n\r\nCloses #4079 "},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/162158365","html_url":"https://github.com/nodejs/node/pull/4112#issuecomment-162158365","issue_url":"https://api.github.com/repos/nodejs/node/issues/4112","id":162158365,"user":{"login":"JungMinu","id":5035902,"avatar_url":"https://avatars.githubusercontent.com/u/5035902?v=3","gravatar_id":"","url":"https://api.github.com/users/JungMinu","html_url":"https://github.com/JungMinu","followers_url":"https://api.github.com/users/JungMinu/followers","following_url":"https://api.github.com/users/JungMinu/following{/other_user}","gists_url":"https://api.github.com/users/JungMinu/gists{/gist_id}","starred_url":"https://api.github.com/users/JungMinu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JungMinu/subscriptions","organizations_url":"https://api.github.com/users/JungMinu/orgs","repos_url":"https://api.github.com/users/JungMinu/repos","events_url":"https://api.github.com/users/JungMinu/events{/privacy}","received_events_url":"https://api.github.com/users/JungMinu/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T07:35:34Z","updated_at":"2015-12-05T07:35:34Z","body":"IMHO, I think that using a `TryCatch` to differentiate between the two is fine :)"}}