Skip to content
Permalink
Browse files

resolves issue JENKINS-30926.

  • Loading branch information...
lordofthejars committed Oct 13, 2015
1 parent a7657a8 commit 73e81a7581393939f1fcbd17e89b4d4ec4d22962
@@ -67,6 +67,12 @@
this.fileName = fileName;
this.data = Base64.decodeBase64(data);
}
if (this.fileName == null || this.fileName.isEmpty()) {
throw new IllegalArgumentException(
String.format("No FileName was provided or resolved. " +
"Input file item was %s and input file name was %s.", file.toString(), fileName)
);
}
if (LOGGER.isLoggable(Level.FINE)) {
LOGGER.log(Level.FINE, "for {0} have {1} of length {2} after upload of ‘{3}’", new Object[] {getId(), this.fileName, unencrypted().length, name});
}

0 comments on commit 73e81a7

Please sign in to comment.
You can’t perform that action at this time.