Update error handling for fetch
All threads resolved!
All threads resolved!
Compare changes
+ 1
− 1
We can add an onError
option in the future that will be called instead of throwing the error, but for now it's good to have at least some way to bubble up errors from fetch
fetch
fetch
regardless of debug. This part I'm least sure about. Should we move debug
to the base class and only log in fetch
if debug is true. Either way seems ok to me but I would like a second opinion.