{"action":"created","issue":{"url":"https://api.github.com/repos/borodean/postcss-assets/issues/8","labels_url":"https://api.github.com/repos/borodean/postcss-assets/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/borodean/postcss-assets/issues/8/comments","events_url":"https://api.github.com/repos/borodean/postcss-assets/issues/8/events","html_url":"https://github.com/borodean/postcss-assets/issues/8","id":56273233,"number":8,"title":"Error handling","user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/borodean/postcss-assets/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-02T18:21:30Z","updated_at":"2015-02-02T19:46:05Z","closed_at":null,"body":"1. Why you print warning insetad of throw a error? Many build tools doesn’t show a warnings and it makes debug harder.\r\n2. PostCSS has special API to get source of node (even by previous source map):\r\n\r\n```js\r\nif ( !isFound ) {\r\n    throw decl.error('Asset not found or unreadable: ' + assetPath)\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/borodean/postcss-assets/issues/comments/72523918","html_url":"https://github.com/borodean/postcss-assets/issues/8#issuecomment-72523918","issue_url":"https://api.github.com/repos/borodean/postcss-assets/issues/8","id":72523918,"user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T19:46:05Z","updated_at":"2015-02-02T19:46:05Z","body":"BTW, in `postcss-simple-vars` and `postcss-mixins` I have special `silent` option. With this option plugin will not throw error on unknown variable or mixin and will just left them in CSS."}}