diff options
Diffstat (limited to 'archiva-modules/archiva-scheduled')
-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 ); } } } |