github-tools / github-tools/github
Cannot read property 'status' of undefined error when there is no network
Aperta
bug
- Lingua principale
- JavaScript
- Stelle
- 3.8k
- Fork
- 809
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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`
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.