Differentiate between different auth error states

Offen
#332 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
56/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
2
Forks
2
Ø Merge
3 Std. 3 Min.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

  • Enthält ein Dockerfile oder eine Docker-Compose-Datei
  • Keine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DiamondLightSource/numtracker

Alle Issues in DiamondLightSource/numtracker

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.