-
Notifications
You must be signed in to change notification settings - Fork 53
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
Notify subscribers of auto publish failure #608
Conversation
FeedVersionController.publishToExternalResource(latestFeedVersion); | ||
LOG.info("Auto-published feed source {} to external resource.", feedSource.id); | ||
} else { | ||
// Notify feed and project subscribed users of failure. | ||
String message = String.format( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will result in two email notifications being sent (for fetched feed versions only):
- A useful email with the text outlined in this block,
- A more generic email that is already being sent, and that reads: "While attempting to process a new feed version for [feed name], an unrecoverable error was encountered. More details: unknown error". I think we can keep the two, although in some future, it will make sense to propagate the error content from this message to the other one. Thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How quickly are MTC expecting an update? I think for now we go with two email notifications.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can keep it at two emails for now and iterate based on their feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good.
Checklist
dev
before they can be merged tomaster
)Description
Notify subsribers if an auto published feed fails.