o Polished error message

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921933 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2010-03-11 16:50:25 +00:00
parent d946c8cbe9
commit 1e91b227f9
1 changed files with 3 additions and 2 deletions

View File

@ -135,11 +135,12 @@ public class DefaultPluginPrefixResolver
{
if ( logger.isDebugEnabled() )
{
logger.warn( "Failed to retrieve plugin descriptor for " + plugin + ": " + e.getMessage(), e );
logger.warn( "Failed to retrieve plugin descriptor for " + plugin.getId() + ": " + e.getMessage(),
e );
}
else
{
logger.warn( "Failed to retrieve plugin descriptor for " + plugin + ": " + e.getMessage() );
logger.warn( "Failed to retrieve plugin descriptor for " + plugin.getId() + ": " + e.getMessage() );
}
}
}