Skip to content

Commit

Permalink
Issue eclipse-tycho#723 improve error message
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
  • Loading branch information
laeubi committed Mar 7, 2022
1 parent 3c46a38 commit 237aeb9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ public TargetPlatformBundlePublisher(ReactorProject project, MavenContext mavenC
MavenBundleInfo attemptToPublishBundle(IArtifactFacade mavenArtifact, boolean wrapIfNessesary) {
if (!isAvailableAsLocalFile(mavenArtifact)) {
// this should have been ensured by the caller
throw new IllegalArgumentException("Not an artifact file: " + mavenArtifact.getLocation());
throw new IllegalArgumentException(
mavenArtifact + " is not a local artifact file @ location " + mavenArtifact.getLocation());
}
PublisherRun publisherRun = new PublisherRun(mavenArtifact, project, publishedArtifacts.getBaseDir(),
mavenContext, wrapIfNessesary);
Expand Down

0 comments on commit 237aeb9

Please sign in to comment.