'str' object has no attribute 'error'
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 109
- Fork
- 85
- Merge medio
- 1g 21h
- PR unite (30g)
- 1
Descrizione
Describe the bug
December 6-7 we would see this exception thrown a few hundred calls per day. They stopped for a while but reappeared again on Jan 2. It also looks like APIs were completely down for about 15 minutes yesterday, as we could see another exception with Bad Gateway: The upstream server is unavailable, please try again... during that shorter timeframe.
To Reproduce
This seems to be random with intermittent issues on the Nylas API itself.
Expected behavior
Better exception handling and bubble up a more descriptive error that we can use to handle this case.
SDK Version:
6.4.0
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando il percorso di errore della Nylas API in SDK 6.4.0 e l’eccezione segnalata "'str' object has no attribute 'error'". Traccia come viene gestita la risposta intermittente Bad Gateway; il lavoro è completato quando per questo errore viene sollevata un’eccezione descrittiva invece dell’attuale errore di attributo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api, backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100