Skip to content

Conversation

@JosRoseboom
Copy link
Contributor

This pr contains 2 commits that provide a solution for the 2 problems described in #1072

…elpful to use the reason String that came in as an parameter than UNKNOWN_ERROR. UNKNOWN_ERROR could be used for null or empty Strings.
@google-cla
Copy link

google-cla bot commented Feb 5, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@JosRoseboom JosRoseboom changed the title Issue 1072 Issue 1072: Error codes in TopicManagementResponse are incomplete, causing loss of important debug information Feb 5, 2025
Copy link
Contributor

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @JosRoseboom for putting this together! These changes look good with one comment.

…s added to map them from UPPER_SNAKE_CASE to lower-kebab-case. Entries from the ERROR_CODES that can be computed this way are removed from the map. Extra tests are added for those 3 cases.
Copy link
Contributor

@jonathanedey jonathanedey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

@jonathanedey jonathanedey changed the title Issue 1072: Error codes in TopicManagementResponse are incomplete, causing loss of important debug information fix(fcm): Preserve unmapped TopicManagementResponse error reasons Nov 19, 2025
@jonathanedey jonathanedey merged commit 88381d8 into firebase:master Nov 19, 2025
6 checks passed
@JosRoseboom JosRoseboom deleted the issue-1072 branch November 19, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error codes in TopicManagementResponse are incomplete, causing loss of important debug information

3 participants