googleapis / googleapis/google-cloud-java

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

オープン
#12,446 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p3 type: bug
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

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!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。