Skip to content

Conversation

appleboy
Copy link
Owner

  • Rename notification to messages for clarity
  • Simplify error handling by consolidating error logging and response handling
  • Remove redundant checks and logging for individual tokens
  • Add handling for retrying topic messages
  • Refactor success and error logging for topic messages
  • Ensure failed tokens are retried by appending them to newTokens
  • Clear Topic and Condition fields if no retry is needed

fix #773

- Rename `notification` to `messages` for clarity
- Simplify error handling by consolidating error logging and response handling
- Remove redundant checks and logging for individual tokens
- Add handling for retrying topic messages
- Refactor success and error logging for topic messages
- Ensure failed tokens are retried by appending them to `newTokens`
- Clear `Topic` and `Condition` fields if no retry is needed

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy merged commit 07c4319 into master Jun 15, 2024
@appleboy appleboy deleted the fcm branch June 15, 2024 04:18
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.

Writing error in log, but push send successful
1 participant