googleapis / googleapis/google-cloud-java

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

未关闭
#12,446 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: bug
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
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 摘要。