{"action":"created","issue":{"url":"https://api.github.com/repos/hhff/ember-infinity/issues/96","labels_url":"https://api.github.com/repos/hhff/ember-infinity/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/hhff/ember-infinity/issues/96/comments","events_url":"https://api.github.com/repos/hhff/ember-infinity/issues/96/events","html_url":"https://github.com/hhff/ember-infinity/issues/96","id":111031882,"number":96,"title":"\"Could not fetch Infinity Model\" masks other errors","user":{"login":"grantovich","id":394835,"avatar_url":"https://avatars.githubusercontent.com/u/394835?v=3","gravatar_id":"","url":"https://api.github.com/users/grantovich","html_url":"https://github.com/grantovich","followers_url":"https://api.github.com/users/grantovich/followers","following_url":"https://api.github.com/users/grantovich/following{/other_user}","gists_url":"https://api.github.com/users/grantovich/gists{/gist_id}","starred_url":"https://api.github.com/users/grantovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantovich/subscriptions","organizations_url":"https://api.github.com/users/grantovich/orgs","repos_url":"https://api.github.com/users/grantovich/repos","events_url":"https://api.github.com/users/grantovich/events{/privacy}","received_events_url":"https://api.github.com/users/grantovich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-12T18:40:56Z","updated_at":"2015-11-12T03:46:34Z","closed_at":null,"body":"At a couple places in the route mixin ([here](https://github.com/hhff/ember-infinity/blob/44a43e46f805281185c1c28fee574b88fc9808cf/addon/mixins/route.js#L194) and [here](https://github.com/hhff/ember-infinity/blob/44a43e46f805281185c1c28fee574b88fc9808cf/addon/mixins/route.js#L251)), there is a promise failure handler that catches all errors and throws a generic \"Could not fetch Infinity Model\" error. This makes it quite difficult to determine what the actual error was – in my case the server response was successful, and I had to do some \"pause on all exceptions\" debugging to find out that it was ember-data telling me an association wasn't set up correctly. Is there an advantage to doing things this way? Why not allow the real error to surface?"},"comment":{"url":"https://api.github.com/repos/hhff/ember-infinity/issues/comments/155988106","html_url":"https://github.com/hhff/ember-infinity/issues/96#issuecomment-155988106","issue_url":"https://api.github.com/repos/hhff/ember-infinity/issues/96","id":155988106,"user":{"login":"grantovich","id":394835,"avatar_url":"https://avatars.githubusercontent.com/u/394835?v=3","gravatar_id":"","url":"https://api.github.com/users/grantovich","html_url":"https://github.com/grantovich","followers_url":"https://api.github.com/users/grantovich/followers","following_url":"https://api.github.com/users/grantovich/following{/other_user}","gists_url":"https://api.github.com/users/grantovich/gists{/gist_id}","starred_url":"https://api.github.com/users/grantovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantovich/subscriptions","organizations_url":"https://api.github.com/users/grantovich/orgs","repos_url":"https://api.github.com/users/grantovich/repos","events_url":"https://api.github.com/users/grantovich/events{/privacy}","received_events_url":"https://api.github.com/users/grantovich/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T03:46:34Z","updated_at":"2015-11-12T03:46:34Z","body":"This was something I encountered on a free-time project that I work on very infrequently, so I'm not sure if I'll be able to get to it in the near future :crying_cat_face: I'll update here if I find some time to work on it."}}