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

alert when return NonRetryableApplicationErrors #2539

Open
iamKunalGupta opened this issue Feb 7, 2025 · 0 comments
Open

alert when return NonRetryableApplicationErrors #2539

iamKunalGupta opened this issue Feb 7, 2025 · 0 comments
Assignees

Comments

@iamKunalGupta
Copy link
Member

cases like

if !exists.PublicationExists {
c.logger.Warn("publication does not exist", slog.String("name", publicationName))
return temporal.NewNonRetryableApplicationError(
fmt.Sprintf("publication %s does not exist, restarting workflow", slotName), "disconnect", nil)
}
if !exists.SlotExists {
c.logger.Warn("slot does not exist", slog.String("name", slotName))
return temporal.NewNonRetryableApplicationError(
fmt.Sprintf("replication slot %s does not exist, restarting workflow", slotName), "disconnect", nil)
}

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

No branches or pull requests

3 participants