Differentiate between different auth error states

Aperta
#332 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

Start by tracing the authentication response handling and deserialization path that produces the error states; the issue does not name files or tests. Reproduce both a 503 response that cannot be deserialized and a valid response in an unexpected format, then check that they are reported distinctly. Done means the two cases have distinguishable errors and the existing authentication behavior remains covered.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

A 503 response not being deserializable should not be treated the same as a 'valid' response in an unexpected format. Made figuring out #331 more difficult than it should have been.

Lingua principale
Rust
Stelle
2
Fork
2
Merge medio
3h 3m
PR unite (30g)
2

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DiamondLightSource/numtracker

Tutte le issue di DiamondLightSource/numtracker

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.