[MRM-738] increase logging on path errors so we can identify the source

Merged from: r639156


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@639158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2008-03-20 05:04:07 +00:00
parent 2f66ed0fd9
commit 5c5b371765
2 changed files with 4 additions and 4 deletions

View File

@ -140,11 +140,11 @@ public class DaysOldRepositoryPurge
}
catch ( LayoutException le )
{
throw new RepositoryPurgeException( le.getMessage() );
throw new RepositoryPurgeException( le.getMessage(), le );
}
catch ( ContentNotFoundException e )
{
throw new RepositoryPurgeException( e.getMessage() );
throw new RepositoryPurgeException( e.getMessage(), e );
}
}

View File

@ -99,7 +99,7 @@ public class RetentionCountRepositoryPurge
}
catch ( LayoutException le )
{
throw new RepositoryPurgeException( le.getMessage() );
throw new RepositoryPurgeException( le.getMessage(), le );
}
catch ( ContentNotFoundException e )
{