mirror of
https://github.com/apache/archiva.git
synced 2025-02-22 18:31:43 +00:00
Improving log messages
This commit is contained in:
parent
7f6436c0e2
commit
a59df13f7c
@ -129,7 +129,7 @@ public Boolean checkRemoteConnectivity(String repositoryId)
|
||||
try {
|
||||
RemoteRepository remoteRepository = remoteRepositoryAdmin.getRemoteRepository(repositoryId);
|
||||
if (remoteRepository == null) {
|
||||
log.warn("ignore scheduleDownloadRemote for repo with id {} as not exists", repositoryId);
|
||||
log.warn("Remote repository {} does not exist. Connectivity check returns false.", repositoryId);
|
||||
return Boolean.FALSE;
|
||||
}
|
||||
NetworkProxy networkProxy = null;
|
||||
@ -137,8 +137,8 @@ public Boolean checkRemoteConnectivity(String repositoryId)
|
||||
networkProxy = proxyRegistry.getNetworkProxy(remoteRepository.getRemoteDownloadNetworkProxyId());
|
||||
if (networkProxy == null) {
|
||||
log.warn(
|
||||
"your remote repository is configured to download remote index trought a proxy we cannot find id:{}",
|
||||
remoteRepository.getRemoteDownloadNetworkProxyId());
|
||||
"A network proxy {} was configured for repository {}. But the proxy with the given id does not exist.",
|
||||
remoteRepository.getRemoteDownloadNetworkProxyId(), repositoryId);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user