Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve "redeliveryloop error" message #193

Merged

Conversation

AnastasiiaSvietlova
Copy link
Contributor

@AnastasiiaSvietlova AnastasiiaSvietlova commented Aug 30, 2024

Goal

Improve the error message when event redelivery fails.

Design

Changeset

Changed "Redeliveryloop error" message to "An error occurred attempting to redeliver a payload".

Testing

@@ -116,7 +116,8 @@ const initRedelivery = (networkStatus, logger, send) => {
session: new UndeliveredPayloadQueue('session', onQueueError)
}

const onLoopError = e => logger.error('RedeliveryLoop error', e)
const onLoopError = (e) =>
logger.error('An error occurred attempting to redelivery a payload', e)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
logger.error('An error occurred attempting to redelivery a payload', e)
logger.error('An error occurred attempting to redeliver a payload', e)

Copy link
Contributor

@yousif-bugsnag yousif-bugsnag left a comment

Choose a reason for hiding this comment

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

LGTM

@AnastasiiaSvietlova AnastasiiaSvietlova merged commit db94d34 into v51/next Sep 2, 2024
6 checks passed
@AnastasiiaSvietlova AnastasiiaSvietlova deleted the PLAT-12468/redeliveryloop-error-message branch September 2, 2024 13:59
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.

3 participants