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

fix error when sending mail for archived deployment, fix sending mail on predeploy failure #721

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

yvespp
Copy link
Member

@yvespp yvespp commented Dec 14, 2023

No description provided.

@yvespp yvespp added this to the Version 1.17.33 milestone Dec 14, 2023
@yvespp yvespp requested a review from mburri December 14, 2023 18:21
log.log(Level.WARNING, "Deployment notification ("
+ subjectMessage + ") could not be sent", e);
if (deployments == null || deployments.isEmpty()) {
return message;
Copy link
Member

Choose a reason for hiding this comment

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

So - if deployments is null or empty, null will be returned? is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think so. It was returning null before, I just switched the if statement around.

@yvespp yvespp force-pushed the fix_deploy_notification branch from 883e4ce to c832944 Compare December 15, 2023 18:42
@yvespp yvespp merged commit d78e1f6 into master Dec 18, 2023
1 check passed
@yvespp yvespp deleted the fix_deploy_notification branch December 18, 2023 12:26
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.

2 participants