box / box/box-java-sdk

Add logging of BoxAPIException.getResponse()

Đang mở
#1,045 1 bình luận 0 reaction 4 người được giao Được @mwwoda nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Java
Star
170
Fork
189
Merge trung bình
20 giờ 26 phút
Pull request đã merge (30 ngày)
22

Mô tả

The requests are already logged: https://github.com/box/box-java-sdk/blob/05224c433d2a101a01959644674153df9542b711/src/main/java/com/box/sdk/BoxAPIRequest.java#L714

It would be very helpful when debugging to also have the error responses logged.

There should be a way to configure this on or off.

There would need to be a way to pass in an optional filter to remove PII from the exception text.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.