Skip to content

Commit

Permalink
[MPIR-374] No logging of stacktrace in non debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaehr authored and slachiewicz committed Jun 7, 2020
1 parent 9ed6e57 commit 3e139cd
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -273,7 +273,14 @@ private String[] getDependencyRow( Dependency dependency, boolean hasClassifier
}
catch ( ProjectBuildingException e )
{
log.warn( "Unable to create Maven project for " + artifact.getId() + " from repository.", e );
if ( log.isDebugEnabled() )
{
log.warn( "Unable to create Maven project for " + artifact.getId() + " from repository.", e );
}
else
{
log.warn( "Unable to create Maven project for " + artifact.getId() + " from repository." );
}
}

String artifactIdCell = ProjectInfoReportUtils.getArtifactIdCell( artifact.getArtifactId(), url );
Expand Down

0 comments on commit 3e139cd

Please sign in to comment.