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(notifications): Notifier::prepare() threw \InvalidArgumentExcepti… #10523

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

nickvergessen
Copy link
Member

…on which is deprecated

If a user has any notifications this log is generated all the time:

OCA\Mail\Notification\Notifier::prepare() threw \InvalidArgumentException which is deprecated. Throw \OCP\Notification\UnknownNotificationException when the notification is not known to your notifier and otherwise handle all \InvalidArgumentException yourself

@kesselb
Copy link
Contributor

kesselb commented Dec 20, 2024

Nice, Thank you 🙏

@kesselb
Copy link
Contributor

kesselb commented Dec 20, 2024

/backport to stable4.1

@kesselb kesselb merged commit 15cf7ab into main Dec 20, 2024
34 of 35 checks passed
@kesselb kesselb deleted the bugfix/noid/notification-handling branch December 20, 2024 15:03
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.

2 participants