diff --git a/src/main/java/alex/mojaki/s3upload/StreamTransferManager.java b/src/main/java/alex/mojaki/s3upload/StreamTransferManager.java index 54fb5f7..525753b 100644 --- a/src/main/java/alex/mojaki/s3upload/StreamTransferManager.java +++ b/src/main/java/alex/mojaki/s3upload/StreamTransferManager.java @@ -561,7 +561,7 @@ private void uploadStreamPart(StreamPart part) { @Override public String toString() { return String.format("[Manager uploading to %s/%s with id %s]", - bucketName, putKey, Utils.skipMiddle(uploadId, 21)); + bucketName, putKey, Utils.skipMiddle(String.valueOf(uploadId), 21)); } // These methods are intended to be overridden for more specific interactions with the AWS API.