Skip to content

Fix: throw UnknownActivityException on Notifier#372

Merged
lukasdotcom merged 1 commit into
mainfrom
fix/UnknownActivityException
May 18, 2026
Merged

Fix: throw UnknownActivityException on Notifier#372
lukasdotcom merged 1 commit into
mainfrom
fix/UnknownActivityException

Conversation

@lukasdotcom
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
@lukasdotcom lukasdotcom force-pushed the fix/UnknownActivityException branch from 50e207f to f46b19c Compare May 18, 2026 09:23
@lukasdotcom lukasdotcom requested a review from kyteinsky May 18, 2026 09:25
@lukasdotcom lukasdotcom merged commit 45e7f86 into main May 18, 2026
28 checks passed
@lukasdotcom lukasdotcom deleted the fix/UnknownActivityException branch May 18, 2026 12:34
@lukasdotcom lukasdotcom mentioned this pull request May 21, 2026

use InvalidArgumentException;
use OCA\OpenAi\AppInfo\Application;
use OCP\Activity\Exceptions\UnknownActivityException;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In the notifier you need to throw OCP\Notification\UnknownNotificationException

the UnknownActivityException exception is only for activity parsing 🙈

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

New pr to fix this at #376

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.

3 participants