googleapis / googleapis/google-cloud-java

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

Đang mở
#12,446 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p3 type: bug
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.