Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Include the OCS API errors in the error logs printed and reported to nextcloud

Đang mở
#254 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@cestercian đang làm issue này rồi.

Từ ngày 5/10/2026.

  • #255 của @cestercian — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Read the failure handling around the LLM task schedule call in ex_app/lib/main.py and the example in ex_app/lib/ocp_translator.py; the issue points to NextcloudException.response.text as the response text source. Check open pull request #255 before starting, since work is already underway. Done means OCS API response errors are included in the relevant error logs reported to Nextcloud.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement good first issue priority normal
How to use GitHub
  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Feature request

This affects only when ocs requests are made to the home Nextcloud instance and a NextcloudException is thrown. The response text can be fetched with e.response.text from the exception e, see: https://github.com/cloud-py-api/nc_py_api/blob/37f8cf7e11758fb18652610c1c72e5b5005c7d73/nc_py_api/_exceptions.py#L12

One place this could be implemented is where a LLM task schedule call fails with say 412 and we'd want to know the error message returned in there: https://github.com/nextcloud/context_agent/blob/33d170f71ac7884286c17761a13f4275975138c9/ex_app/lib/main.py#L268

Example usage in an ex-app: https://github.com/nextcloud/live_transcription/blob/d8b3f31085cf6543ebddb6a4a5b4396fd5b0eb2a/ex_app/lib/ocp_translator.py#L148

Ngôn ngữ chính
Python
Star
26
Fork
20
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/context_agent

Tất cả issue của nextcloud/context_agent

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.