enh: errors are not printed to the console

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

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

Đánh giá

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

Hướng nghiên cứu

Start by reading how plumber2 configures API logging and where api_logger(logger_console()) is applied; the issue does not name files or tests, so locate the relevant entry points and existing logging tests. Check how errors currently reach the router, then determine what tests should verify that console logging is enabled by default while the response remains an internal server error.

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

Mô tả

Trying to debug a plumber2 api is quite difficult. When errors occur there is nothing printed to the console and the router only says "Internal server error."

Instead, I expect the errors to be logged to the console by default. To get logging one has to add api_logger(logger_console()).

It would be great if this was on by default.

Ngôn ngữ chính
R
Star
119
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 posit-dev/plumber2

Tất cả issue của posit-dev/plumber2

Issue tương tự

Thêm issue về R

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.