{"action":"opened","issue":{"url":"https://api.github.com/repos/MadLittleMods/postcss-css-variables/issues/22","labels_url":"https://api.github.com/repos/MadLittleMods/postcss-css-variables/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/MadLittleMods/postcss-css-variables/issues/22/comments","events_url":"https://api.github.com/repos/MadLittleMods/postcss-css-variables/issues/22/events","html_url":"https://github.com/MadLittleMods/postcss-css-variables/issues/22","id":112324664,"number":22,"title":"Displaying readable errors","user":{"login":"vincentorback","id":1780492,"avatar_url":"https://avatars.githubusercontent.com/u/1780492?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentorback","html_url":"https://github.com/vincentorback","followers_url":"https://api.github.com/users/vincentorback/followers","following_url":"https://api.github.com/users/vincentorback/following{/other_user}","gists_url":"https://api.github.com/users/vincentorback/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentorback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentorback/subscriptions","organizations_url":"https://api.github.com/users/vincentorback/orgs","repos_url":"https://api.github.com/users/vincentorback/repos","events_url":"https://api.github.com/users/vincentorback/events{/privacy}","received_events_url":"https://api.github.com/users/vincentorback/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T09:31:50Z","updated_at":"2015-10-20T09:31:50Z","closed_at":null,"body":"For now it looks like this great plugin doesn’t log any errors at all.\r\nIf I for example have a setup like this:\r\n\r\n```css\r\n:root {\r\n  --my-color: red;\r\n}\r\n\r\n.btn {\r\n  color: var(--other-color);\r\n}\r\n```\r\n\r\nAll I get is a postcss error that looks something like this: \r\n`TypeError: Cannot read property 'indexOf' of undefined]`\r\n\r\nWould be nice if this plugin could show what the error is, which file and which linenumber. And maybe using [postcss-reporter](https://github.com/postcss/postcss-reporter).\r\n"}}