{"action":"created","issue":{"url":"https://api.github.com/repos/feedjira/feedjira/issues/261","labels_url":"https://api.github.com/repos/feedjira/feedjira/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/feedjira/feedjira/issues/261/comments","events_url":"https://api.github.com/repos/feedjira/feedjira/issues/261/events","html_url":"https://github.com/feedjira/feedjira/issues/261","id":55391379,"number":261,"title":"Force error during parsing","user":{"login":"farski","id":3483,"avatar_url":"https://avatars.githubusercontent.com/u/3483?v=3","gravatar_id":"","url":"https://api.github.com/users/farski","html_url":"https://github.com/farski","followers_url":"https://api.github.com/users/farski/followers","following_url":"https://api.github.com/users/farski/following{/other_user}","gists_url":"https://api.github.com/users/farski/gists{/gist_id}","starred_url":"https://api.github.com/users/farski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farski/subscriptions","organizations_url":"https://api.github.com/users/farski/orgs","repos_url":"https://api.github.com/users/farski/repos","events_url":"https://api.github.com/users/farski/events{/privacy}","received_events_url":"https://api.github.com/users/farski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T01:17:32Z","updated_at":"2015-01-25T21:00:45Z","closed_at":null,"body":"I'm trying to make sure I'm handling parse errors properly, but I can't seem to get the error to happen. I either raise a `NoParserAvailable` exception, or it parses as best it can but doesn't call the error block. Do you have any example data that will cause a parsing error? I looked through the tests, but didn't see anything."},"comment":{"url":"https://api.github.com/repos/feedjira/feedjira/issues/comments/71393292","html_url":"https://github.com/feedjira/feedjira/issues/261#issuecomment-71393292","issue_url":"https://api.github.com/repos/feedjira/feedjira/issues/261","id":71393292,"user":{"login":"jonallured","id":79799,"avatar_url":"https://avatars.githubusercontent.com/u/79799?v=3","gravatar_id":"","url":"https://api.github.com/users/jonallured","html_url":"https://github.com/jonallured","followers_url":"https://api.github.com/users/jonallured/followers","following_url":"https://api.github.com/users/jonallured/following{/other_user}","gists_url":"https://api.github.com/users/jonallured/gists{/gist_id}","starred_url":"https://api.github.com/users/jonallured/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonallured/subscriptions","organizations_url":"https://api.github.com/users/jonallured/orgs","repos_url":"https://api.github.com/users/jonallured/repos","events_url":"https://api.github.com/users/jonallured/events{/privacy}","received_events_url":"https://api.github.com/users/jonallured/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T21:00:45Z","updated_at":"2015-01-25T21:00:45Z","body":"Hi @farski - I'm not 100% sure I understand your question, so let me know if this isn't what you were wondering...\r\n\r\nI think there's a couple things going on here that I'd like to clarify.\r\n\r\nThe first is that I'm not happy at all with the callbacks in Feedjira and I'm actually moving away from them anyway. If you check out the `faraday` branch, you'll see that I've replaced curb with faraday and that let me restructure things so that exceptions bubble as expected and callbacks are no longer necessary.\r\n\r\nThe other part of your question - do I have data that will cause a parsing error other than `NoParserAvailable`. I actually don't know of any. I'm not even sure what else you could get - Nokogiri is really good at parsing \"broken\" XML.\r\n\r\nAnyway, hope that helps and let me know if you have any further questions!\r\n\r\nJon"}}