box / box/box-java-sdk

Add logging of BoxAPIException.getResponse()

Aperta
#1,045 1 commento 0 reazioni 4 assegnatari Rivendicata da @mwwoda Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
170
Fork
189
Merge medio
20h 26m
PR unite (30g)
22

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.