Add logging of BoxAPIException.getResponse()
Open
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
Assessment
This issue has not been assessed yet.