fix(llm): log exception of response json decoding#13004
Conversation
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
📝 WalkthroughWalkthroughThis PR adds diagnostic logging to the AI integrations service when JSON decoding of event data fails. When a ChangesAI Integration Error Diagnostics
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
lib/Service/AiIntegrations/AiIntegrationsService.php (1)
6-8:⚠️ Potential issue | 🟠 Major | ⚡ Quick winUpdate SPDX header to the required policy format
This file’s SPDX header does not match the required repository policy (
AGPL-3.0-onlyand older copyright years).Suggested patch
-/** - * SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors - * SPDX-License-Identifier: AGPL-3.0-only - */ +/* + * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */As per coding guidelines, "
**/*.{php,js,ts,tsx,vue}: Every file must include an SPDX license header. New files must use 'AGPL-3.0-or-later', never 'AGPL-3.0-only'. Header format: /* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */".
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: b6f39e06-0d68-4e55-b739-7546938d80fa
📒 Files selected for processing (1)
lib/Service/AiIntegrations/AiIntegrationsService.php
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
5d3432a to
7557fc0
Compare
|
/backport to stable5.9 |
Ref #12538
Summary by CodeRabbit