* 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 });
|
||||
repositoryList.add(newRepository);
|
||||
} catch (Exception ex) {
|
||||
System.out.println("Adding repository " + repositoryArgs + " failed. " +
|
||||
"Will not use that repository. Check your initArgs!");
|
||||
server.getLogger().error("Adding repository " + repositoryArgs + " failed. " +
|
||||
"Will not use that repository. Check your initArgs!", ex);
|
||||
}
|
||||
} else {
|
||||
// we always scan repositories 0-9, beyond that only if defined
|
||||
|
|
Loading…
Add table
Reference in a new issue