{"action":"created","issue":{"url":"https://api.github.com/repos/documentationjs/documentation/issues/241","labels_url":"https://api.github.com/repos/documentationjs/documentation/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/documentationjs/documentation/issues/241/comments","events_url":"https://api.github.com/repos/documentationjs/documentation/issues/241/events","html_url":"https://github.com/documentationjs/documentation/pull/241","id":116229227,"number":241,"title":"Fix exception when formatting string errors","user":{"login":"lucaswoj","id":281306,"avatar_url":"https://avatars.githubusercontent.com/u/281306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswoj","html_url":"https://github.com/lucaswoj","followers_url":"https://api.github.com/users/lucaswoj/followers","following_url":"https://api.github.com/users/lucaswoj/following{/other_user}","gists_url":"https://api.github.com/users/lucaswoj/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswoj/subscriptions","organizations_url":"https://api.github.com/users/lucaswoj/orgs","repos_url":"https://api.github.com/users/lucaswoj/repos","events_url":"https://api.github.com/users/lucaswoj/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswoj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-10T23:49:55Z","updated_at":"2015-11-11T00:30:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/documentationjs/documentation/pulls/241","html_url":"https://github.com/documentationjs/documentation/pull/241","diff_url":"https://github.com/documentationjs/documentation/pull/241.diff","patch_url":"https://github.com/documentationjs/documentation/pull/241.patch"},"body":"Not all errors are `{message: ...}` objects, [some are plain strings](https://github.com/documentationjs/documentation/compare/lint-format?expand=1#diff-c720f471f49a4909dad9b9fda144eed4L24). \r\n\r\nFortunately, `vFile#warn` [handles this case for us](https://github.com/wooorm/vfile/blob/master/index.js#L421).\r\n\r\nThis PR ensures that `format` doesn't throw a runtime exception when passed such an error. \r\n\r\ncc @jfirebaugh @tmcw "},"comment":{"url":"https://api.github.com/repos/documentationjs/documentation/issues/comments/155612170","html_url":"https://github.com/documentationjs/documentation/pull/241#issuecomment-155612170","issue_url":"https://api.github.com/repos/documentationjs/documentation/issues/241","id":155612170,"user":{"login":"lucaswoj","id":281306,"avatar_url":"https://avatars.githubusercontent.com/u/281306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswoj","html_url":"https://github.com/lucaswoj","followers_url":"https://api.github.com/users/lucaswoj/followers","following_url":"https://api.github.com/users/lucaswoj/following{/other_user}","gists_url":"https://api.github.com/users/lucaswoj/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswoj/subscriptions","organizations_url":"https://api.github.com/users/lucaswoj/orgs","repos_url":"https://api.github.com/users/lucaswoj/repos","events_url":"https://api.github.com/users/lucaswoj/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswoj/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T00:30:45Z","updated_at":"2015-11-11T00:30:45Z","body":"Got it @jfirebaugh. Fixed in a new commit."}}