Polishing contribution
Closes gh-27216
This commit is contained in:
@@ -356,7 +356,7 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
|
||||
this.isFilePart = (MultipartUtils.getFileName(headers) != null);
|
||||
this.partSize = 0;
|
||||
if (maxParts > 0 && index > maxParts) {
|
||||
throw new DecodingException("Too many parts (" + index + "/" + maxParts + " allowed)");
|
||||
throw new DecodingException("Too many parts: Part[" + index + "] but maxParts=" + maxParts);
|
||||
}
|
||||
return this.storageFactory.newStreamStorageForPartBody(headers, index);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user