Closed sporto closed 9 years ago
So in https://github.com/jhollingworth/marty/blob/f780507049ca93ceafdb2b13aa0f6164673b255a/dist/node/lib/store/fetch.js#L85 and https://github.com/jhollingworth/marty/blob/f780507049ca93ceafdb2b13aa0f6164673b255a/dist/node/lib/store/fetch.js#L85
Can this be changed so you only catch specific kind of errors? Let everything else bubble up?
Completely agree with you. Thats a hangover from v0.8 where we attempted to handle errors for you. Will remove it
In my store I had something like
But in my Query I had:
So
getLibraries
as opposed tofetchLibraries
.Browser shows no errors at all, the
failed
callback oncreateContainer
gets called. But this is far from desired. Optimally only errors coming from actual fetch later on should be catched.