From 1bf848cde1311314ca754b734e2b7cd951a3f979 Mon Sep 17 00:00:00 2001 From: AsamK Date: Mon, 8 Mar 2021 21:19:46 +0100 Subject: [PATCH] Ignore broken user data again for multi account commands --- src/main/java/org/asamk/signal/App.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/asamk/signal/App.java b/src/main/java/org/asamk/signal/App.java index d4da356c..873e96bd 100644 --- a/src/main/java/org/asamk/signal/App.java +++ b/src/main/java/org/asamk/signal/App.java @@ -214,7 +214,11 @@ public class App { ) throws CommandException { final var managers = new ArrayList(); for (String u : usernames) { - managers.add(loadManager(u, dataPath, serviceEnvironment)); + try { + managers.add(loadManager(u, dataPath, serviceEnvironment)); + } catch (CommandException e) { + logger.warn("Ignoring {}: {}", u, e.getMessage()); + } } command.handleCommand(ns, managers);