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: Catch exceptions thrown by NotificationMail constructor #3608

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Jul 11, 2024

Previously when constructor would throw, it would stop there and on the
next run the notifications before the broken one would get resent.
Exceptions from constructor are now caught and the process continues.

Previously when constructor would throw, it would stop there and on the
 next run the notifications before the broken one would get resent.
 Exceptions from constructor are now caught and the process continues.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@dartcafe
Copy link
Collaborator

Related to #3607?

@dartcafe
Copy link
Collaborator

/backport to next

@AndyScherzinger
Copy link
Member

@dartcafe Any change to get it merged and released as 7.1.x / 7.1.4? Thanks in advance

@AndyScherzinger
Copy link
Member

Related to #3607?

I guess in some way. The effect is that it retries this every 5 minutes and spams with mail notifications.

@dartcafe
Copy link
Collaborator

I am just waiting for the merge and plan to release after it.

@come-nc Do you expect me to merge or do you prefer to merge it by yourself? I am fine with both approaches.

@AndyScherzinger AndyScherzinger merged commit ad3f31f into master Jul 15, 2024
21 checks passed
@AndyScherzinger AndyScherzinger deleted the fix/catch-notificationmail-construct-error branch July 15, 2024 15:52
@dartcafe dartcafe added this to the 7.1.4 milestone Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants