Exit if account check fails at startup

Fixes #1804
This commit is contained in:
AsamK 2025-07-08 17:34:04 +02:00
parent cb06cbdcca
commit 3180eba836
2 changed files with 18 additions and 6 deletions

View file

@ -291,6 +291,8 @@ public class App {
commandHandler.handleMultiLocalCommand(command, multiAccountManager);
} catch (IOException e) {
throw new IOErrorException("Failed to load local accounts file", e);
} catch (AccountCheckException e) {
throw new UnexpectedErrorException("Failed to load local accounts file", e);
}
}