Skip to content

Commit

Permalink
fixup! feat: ai message summary
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
  • Loading branch information
SebastianKrupinski committed Dec 18, 2024
1 parent 3f009fe commit fa7c366
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The rating depends on the installed text processing backend. See [the rating ove
Learn more about the Nextcloud Ethical AI Rating [in our blog](https://nextcloud.com/blog/nextcloud-ethical-ai-rating/).
]]></description>
<version>4.2.1-alpha.0</version>
<version>4.2.0-alpha.1</version>
<licence>agpl</licence>
<author homepage="https://github.com/ChristophWurst">Christoph Wurst</author>
<author homepage="https://github.com/GretaD">GretaD</author>
Expand Down
4 changes: 2 additions & 2 deletions lib/Listener/TaskProcessingListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ public function handle(Event $event): void {
if ($task->getCustomId() !== null) {
[$type, $id] = explode(':', $task->getCustomId());

Check warning on line 48 in lib/Listener/TaskProcessingListener.php

View check run for this annotation

Codecov / codecov/patch

lib/Listener/TaskProcessingListener.php#L47-L48

Added lines #L47 - L48 were not covered by tests
} else {
$this->logger->info('Error handling task processing event custom id missing');
$this->logger->info('Error handling task processing event custom id missing', ['taskCustomId' => $task->getCustomId()]);
return;

Check warning on line 51 in lib/Listener/TaskProcessingListener.php

View check run for this annotation

Codecov / codecov/patch

lib/Listener/TaskProcessingListener.php#L50-L51

Added lines #L50 - L51 were not covered by tests
}
if ($type === null || $id === null) {
$this->logger->info('Error handling task processing event custom id is invalid');
$this->logger->info('Error handling task processing event custom id is invalid', ['taskCustomId' => $task->getCustomId()]);
return;

Check warning on line 55 in lib/Listener/TaskProcessingListener.php

View check run for this annotation

Codecov / codecov/patch

lib/Listener/TaskProcessingListener.php#L53-L55

Added lines #L53 - L55 were not covered by tests
}
if ($task->getUserId() !== null) {
Expand Down

0 comments on commit fa7c366

Please sign in to comment.