mirror of https://github.com/apache/archiva.git
Toning down the exception messages.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@516446 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2cb770b98
commit
31ad64d066
|
@ -45,6 +45,7 @@ import org.codehaus.plexus.registry.Registry;
|
||||||
import org.codehaus.plexus.registry.RegistryListener;
|
import org.codehaus.plexus.registry.RegistryListener;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -315,9 +316,15 @@ public class DefaultActiveManagedRepositories
|
||||||
lastDataRefreshTime = stats.getTimestampFinished();
|
lastDataRefreshTime = stats.getTimestampFinished();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch ( IOException e )
|
catch ( FileNotFoundException e)
|
||||||
{
|
{
|
||||||
getLogger().info(
|
getLogger().info(
|
||||||
|
"No previous datarefresh timestamp available, as "
|
||||||
|
+ DataRefreshExecutor.DATAREFRESH_FILE + " has never been generated." );
|
||||||
|
}
|
||||||
|
catch ( IOException e )
|
||||||
|
{
|
||||||
|
getLogger().warn(
|
||||||
"Unable to load " + DataRefreshExecutor.DATAREFRESH_FILE
|
"Unable to load " + DataRefreshExecutor.DATAREFRESH_FILE
|
||||||
+ " to determine last refresh timestamp: " + e.getMessage(), e );
|
+ " to determine last refresh timestamp: " + e.getMessage(), e );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue