googleapis / googleapis/google-cloud-java

[sdk-platform-java] HTTP exception mapping missing ALREADY_EXISTS

Offen
#12,446 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
priority: p3 type: bug
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

On HTTP exceptions, exceptions that should be `ALREADY_EXISTS` (409) are being propagated as `ABORTED` (also 409).

This code change seems to have removed the behavior: https://github.com/googleapis/sdk-platform-java/commit/cdf461425812f5392436fcd8b4dc6096347036c9#diff-ecd504e117f5a7eedb2f2df5df3a32ac6bc85e21c870ff702c0de2771b33a21eL125-L129

![image](https://github.com/googleapis/google-cloud-java/assets/28604/68b7c027-dbc7-46d3-aa52-d5b90c5bfd03)

Is there a reason for this, or can we restore this logic?

Thanks!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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