github icon indicating copy to clipboard operation
github copied to clipboard

Cannot read property 'status' of undefined error when there is no network

Open alexcanessa opened this issue 8 years ago • 1 comments

When there is no network the _request function fails, without rejecting the Promise, which makes impossible to catch the error when using a callback.

Even though the component can't be used without the network (#388), I think would be good to handle the case.

The error:

TypeError: Cannot read property 'status' of undefined

alexcanessa avatar Mar 09 '17 14:03 alexcanessa

:+1:

raciat avatar Sep 22 '17 14:09 raciat