* Use logger to log error instead of writing to System.out.
This commit is contained in:
parent
7f6226ac17
commit
235d29fe26
1 changed files with 2 additions and 2 deletions
|
@ -367,8 +367,8 @@ public class ApplicationManager implements XmlRpcHandler {
|
||||||
.newInstance(new Object[] { repositoryArgs });
|
.newInstance(new Object[] { repositoryArgs });
|
||||||
repositoryList.add(newRepository);
|
repositoryList.add(newRepository);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
System.out.println("Adding repository " + repositoryArgs + " failed. " +
|
server.getLogger().error("Adding repository " + repositoryArgs + " failed. " +
|
||||||
"Will not use that repository. Check your initArgs!");
|
"Will not use that repository. Check your initArgs!", ex);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// we always scan repositories 0-9, beyond that only if defined
|
// we always scan repositories 0-9, beyond that only if defined
|
||||||
|
|
Loading…
Add table
Reference in a new issue