{"action":"created","issue":{"url":"https://api.github.com/repos/Polymer/polymer/issues/4478","repository_url":"https://api.github.com/repos/Polymer/polymer","labels_url":"https://api.github.com/repos/Polymer/polymer/issues/4478/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer/issues/4478/comments","events_url":"https://api.github.com/repos/Polymer/polymer/issues/4478/events","html_url":"https://github.com/Polymer/polymer/issues/4478","id":218398059,"number":4478,"title":"Make error messages more verbose","user":{"login":"owencm","id":279720,"avatar_url":"https://avatars2.githubusercontent.com/u/279720?v=3","gravatar_id":"","url":"https://api.github.com/users/owencm","html_url":"https://github.com/owencm","followers_url":"https://api.github.com/users/owencm/followers","following_url":"https://api.github.com/users/owencm/following{/other_user}","gists_url":"https://api.github.com/users/owencm/gists{/gist_id}","starred_url":"https://api.github.com/users/owencm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owencm/subscriptions","organizations_url":"https://api.github.com/users/owencm/orgs","repos_url":"https://api.github.com/users/owencm/repos","events_url":"https://api.github.com/users/owencm/events{/privacy}","received_events_url":"https://api.github.com/users/owencm/received_events","type":"User","site_admin":false},"labels":[{"id":118319119,"url":"https://api.github.com/repos/Polymer/polymer/labels/p1","name":"p1","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":{"login":"sorvell","id":78891,"avatar_url":"https://avatars2.githubusercontent.com/u/78891?v=3","gravatar_id":"","url":"https://api.github.com/users/sorvell","html_url":"https://github.com/sorvell","followers_url":"https://api.github.com/users/sorvell/followers","following_url":"https://api.github.com/users/sorvell/following{/other_user}","gists_url":"https://api.github.com/users/sorvell/gists{/gist_id}","starred_url":"https://api.github.com/users/sorvell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorvell/subscriptions","organizations_url":"https://api.github.com/users/sorvell/orgs","repos_url":"https://api.github.com/users/sorvell/repos","events_url":"https://api.github.com/users/sorvell/events{/privacy}","received_events_url":"https://api.github.com/users/sorvell/received_events","type":"User","site_admin":false},"assignees":[{"login":"sorvell","id":78891,"avatar_url":"https://avatars2.githubusercontent.com/u/78891?v=3","gravatar_id":"","url":"https://api.github.com/users/sorvell","html_url":"https://github.com/sorvell","followers_url":"https://api.github.com/users/sorvell/followers","following_url":"https://api.github.com/users/sorvell/following{/other_user}","gists_url":"https://api.github.com/users/sorvell/gists{/gist_id}","starred_url":"https://api.github.com/users/sorvell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorvell/subscriptions","organizations_url":"https://api.github.com/users/sorvell/orgs","repos_url":"https://api.github.com/users/sorvell/repos","events_url":"https://api.github.com/users/sorvell/events{/privacy}","received_events_url":"https://api.github.com/users/sorvell/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-03-31T04:56:19Z","updated_at":"2017-04-03T21:38:10Z","closed_at":null,"body":"### Description\r\nSome errors aren't very helpful. For example, when passing malformed JSON as a property I see: \r\n\r\n\"Polymer::Attributes: couldn`t decode Array as JSON\"\r\n\r\nbut it would have been more helpful to know which string it tried to decode and failed, in this case \"['Owen','Elizabeth']\".\r\n\r\nPreferred error message: \"Polymer::Attributes: couldn`t decode Array as JSON: ['Owen','Elizabeth']\"\r\n\r\n### Versions\r\n- Polymer: \"2.0-preview\""},"comment":{"url":"https://api.github.com/repos/Polymer/polymer/issues/comments/291281874","html_url":"https://github.com/Polymer/polymer/issues/4478#issuecomment-291281874","issue_url":"https://api.github.com/repos/Polymer/polymer/issues/4478","id":291281874,"user":{"login":"sorvell","id":78891,"avatar_url":"https://avatars2.githubusercontent.com/u/78891?v=3","gravatar_id":"","url":"https://api.github.com/users/sorvell","html_url":"https://github.com/sorvell","followers_url":"https://api.github.com/users/sorvell/followers","following_url":"https://api.github.com/users/sorvell/following{/other_user}","gists_url":"https://api.github.com/users/sorvell/gists{/gist_id}","starred_url":"https://api.github.com/users/sorvell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorvell/subscriptions","organizations_url":"https://api.github.com/users/sorvell/orgs","repos_url":"https://api.github.com/users/sorvell/repos","events_url":"https://api.github.com/users/sorvell/events{/privacy}","received_events_url":"https://api.github.com/users/sorvell/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T21:38:10Z","updated_at":"2017-04-03T21:38:10Z","body":"We endeavor to make error messages useful in general. \r\n\r\nWe'll go ahead and change this one, and welcome other examples that could stand improvement."}}
{"actor":{"display_login":"sorvell"}}