diff options
author | Brett Porter <brett@apache.org> | 2009-12-03 22:40:24 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-12-03 22:40:24 +0000 |
commit | 5996457bf23bb7f435f1911fbce85ac4ed15f911 (patch) | |
tree | b72286ca5b98dbfe539f50ca2552fdc2cc1e5d39 | |
parent | 00fb9a045ec6c98f1d10b01d3598a9c12ac53363 (diff) | |
download | archiva-5996457bf23bb7f435f1911fbce85ac4ed15f911.tar.gz archiva-5996457bf23bb7f435f1911fbce85ac4ed15f911.zip |
[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
-rw-r--r-- | archiva-modules/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaIndexingTaskExecutor.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/archiva-modules/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaIndexingTaskExecutor.java b/archiva-modules/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaIndexingTaskExecutor.java index 2eef44f6d..61a3f3460 100644 --- a/archiva-modules/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaIndexingTaskExecutor.java +++ b/archiva-modules/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaIndexingTaskExecutor.java @@ -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 ); } } } |