googleapis / googleapis/google-cloud-java
[sdk-platform-java] HTTP exception mapping missing ALREADY_EXISTS
Open
priority: p3
type: bug
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 154
Description
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

Is there a reason for this, or can we restore this logic?
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.