mirror of https://github.com/apache/archiva.git
[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:
parent
2f66ed0fd9
commit
5c5b371765
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ public class RetentionCountRepositoryPurge
|
|||
}
|
||||
catch ( LayoutException le )
|
||||
{
|
||||
throw new RepositoryPurgeException( le.getMessage() );
|
||||
throw new RepositoryPurgeException( le.getMessage(), le );
|
||||
}
|
||||
catch ( ContentNotFoundException e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue