box / box/box-java-sdk

Add logging of BoxAPIException.getResponse()

Open
#1,045 1 comment 0 reactions 4 assignees Claimed by @mwwoda View on GitHub
enhancement
Dominant language
Java
Stars
170
Forks
189
Avg merge
20h 26m
Merged PRs (30d)
22

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.