[MRM-1272] correct empty error message when there is a problem from Lucene

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@886966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2009-12-03 22:40:24 +00:00
parent 00fb9a045e
commit 5996457bf2
1 changed files with 4 additions and 4 deletions

View File

@ -93,9 +93,9 @@ public class ArchivaIndexingTaskExecutor
}
catch ( IOException e )
{
log.error( "Error occurred while executing indexing task '" + indexingTask + "'" );
log.error( "Error occurred while executing indexing task '" + indexingTask + "': " + e.getMessage() );
throw new TaskExecutionException( "Error occurred while executing indexing task '" + indexingTask
+ "'" );
+ "'", e );
}
finally
{
@ -168,9 +168,9 @@ public class ArchivaIndexingTaskExecutor
}
catch ( IOException e )
{
log.error( "Error occurred while executing indexing task '" + indexingTask + "'" );
log.error( "Error occurred while executing indexing task '" + indexingTask + "': " + e.getMessage() );
throw new TaskExecutionException( "Error occurred while executing indexing task '" + indexingTask
+ "'" );
+ "'", e );
}
}
}