googleapis / googleapis/google-cloud-java

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

Open
#12,446 5 comments 0 reactions 0 assignees View on GitHub
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

![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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.