Ignore broken user data again for multi account commands

This commit is contained in:
AsamK 2021-03-08 21:19:46 +01:00
parent be4b683a41
commit 1bf848cde1

View file

@ -214,7 +214,11 @@ public class App {
) throws CommandException { ) throws CommandException {
final var managers = new ArrayList<Manager>(); final var managers = new ArrayList<Manager>();
for (String u : usernames) { for (String u : usernames) {
try {
managers.add(loadManager(u, dataPath, serviceEnvironment)); managers.add(loadManager(u, dataPath, serviceEnvironment));
} catch (CommandException e) {
logger.warn("Ignoring {}: {}", u, e.getMessage());
}
} }
command.handleCommand(ns, managers); command.handleCommand(ns, managers);