Log errors during construction

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

Chưa có ai nhận issue này.

Đánh giá

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

Hướng nghiên cứu

Start at SdrRegistry::GetInstance() and trace how the Ar2 plugin is constructed, especially where constructor exceptions currently propagate. Done means errors during plugin construction are logged clearly instead of propagating unnoticed and causing misleading downstream failures.

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

Mô tả

difficulty/medium good first issue help wanted

What

Log any errors during construction of the Ar2 plugin

Why

Currently we allow exceptions to propagate if they occur in the constructor of the plugin.

However, since plugins are/can be instantiated deep inside USD lazily when the registry is first accessed (i.e. SdrRegistry::GetInstance() ), if an application isn't aware that plugins are loading and can throw exceptions, then any error might just be swallowed and lead to hard-to-debug issues.

This came about whilst prototyping our Ar2 shim plugin in Katana, triggering a misleading error loading Katana's USD RenderInfo plugin, caused, ultimately, by a Python exception in BAL(!).

Ngôn ngữ chính
CMake
Star
28
Fork
4
Merge trung bình
12 phút
Pull request đã merge (30 ngày)
1

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 OpenAssetIO/usdOpenAssetIOResolver

Tất cả issue của OpenAssetIO/usdOpenAssetIOResolver

Issue tương tự

Thêm issue về Backend & API Design

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.