Add content length to exception message

This commit is contained in:
Andrew Gaul 2015-03-02 16:45:03 -08:00
parent fb1f3b9dfd
commit 9f93941525
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ public class BlobBuilderImpl implements BlobBuilder {
@Override
public PayloadBlobBuilder contentLength(long contentLength) {
checkArgument(contentLength >= 0, "content length must be non-negative");
checkArgument(contentLength >= 0, "content length must be non-negative, was: %s", contentLength);
payload.getContentMetadata().setContentLength(contentLength);
return this;
}