Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Next Release
- Fixed logger format string in `BoxAPIRequest.java` and `BoxDeveloperEditionAPIConnection.java`

## 2.43.0 [2019-12-20]
- Throw exceptions for setMetadata on Files and Folders for non-409 errors

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/box/sdk/BoxAPIRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public BoxAPIResponse send(ProgressListener listener) {
throw apiException;
}

LOGGER.log(Level.WARNING, "Retrying request due to transient error status=%d body=%s",
LOGGER.log(Level.WARNING, "Retrying request due to transient error status={0} body={1}",
new Object[] {apiException.getResponseCode(), apiException.getResponse()});

try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public void authenticate() {
throw apiException;
}

logger.log(Level.WARNING, "Retrying authentication request due to transient error status=%d body=%s",
logger.log(Level.WARNING, "Retrying authentication request due to transient error status={0} body={1}",
new Object[] {apiException.getResponseCode(), apiException.getResponse()});

try {
Expand Down