mirror of https://github.com/apache/archiva.git
[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:
parent
00fb9a045e
commit
5996457bf2
|
@ -93,9 +93,9 @@ public class ArchivaIndexingTaskExecutor
|
||||||
}
|
}
|
||||||
catch ( IOException e )
|
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
|
throw new TaskExecutionException( "Error occurred while executing indexing task '" + indexingTask
|
||||||
+ "'" );
|
+ "'", e );
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
@ -168,9 +168,9 @@ public class ArchivaIndexingTaskExecutor
|
||||||
}
|
}
|
||||||
catch ( IOException e )
|
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
|
throw new TaskExecutionException( "Error occurred while executing indexing task '" + indexingTask
|
||||||
+ "'" );
|
+ "'", e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue