{"action":"closed","issue":{"url":"https://api.github.com/repos/thebigredgeek/apollo-errors/issues/28","repository_url":"https://api.github.com/repos/thebigredgeek/apollo-errors","labels_url":"https://api.github.com/repos/thebigredgeek/apollo-errors/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/thebigredgeek/apollo-errors/issues/28/comments","events_url":"https://api.github.com/repos/thebigredgeek/apollo-errors/issues/28/events","html_url":"https://github.com/thebigredgeek/apollo-errors/issues/28","id":300312458,"number":28,"title":"Message not propagating in 1.7.1","user":{"login":"prperrino","id":12532366,"avatar_url":"https://avatars2.githubusercontent.com/u/12532366?v=4","gravatar_id":"","url":"https://api.github.com/users/prperrino","html_url":"https://github.com/prperrino","followers_url":"https://api.github.com/users/prperrino/followers","following_url":"https://api.github.com/users/prperrino/following{/other_user}","gists_url":"https://api.github.com/users/prperrino/gists{/gist_id}","starred_url":"https://api.github.com/users/prperrino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prperrino/subscriptions","organizations_url":"https://api.github.com/users/prperrino/orgs","repos_url":"https://api.github.com/users/prperrino/repos","events_url":"https://api.github.com/users/prperrino/events{/privacy}","received_events_url":"https://api.github.com/users/prperrino/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-02-26T16:47:09Z","updated_at":"2018-04-11T16:30:28Z","closed_at":"2018-04-11T16:30:28Z","author_association":"NONE","body":"Changes between versions 1.5.1 and 1.7.1 appear to have broken the message field propagation when using createError:\r\n\r\nconst myError = createError('BadError', { message: \"This is bad\"});\r\nvar theError = new myError();\r\nconsole.log(theError.message) \r\n\r\noutput of message field is undefined.... \r\n\r\nWorks great in 1.5.1, broken in 1.7.1"}}
{"actor":{"display_login":"thebigredgeek"}}