Add additional logging

This commit is contained in:
AsamK 2021-12-29 09:45:59 +01:00
parent fba7a6a75c
commit e3fcc9b3ba
4 changed files with 37 additions and 13 deletions

View file

@ -290,6 +290,7 @@ public class App {
final TrustNewIdentity trustNewIdentity
) throws CommandException {
Manager manager;
logger.trace("Loading account file for {}", account);
try {
manager = Manager.init(account, dataPath, serviceEnvironment, BaseConfig.USER_AGENT, trustNewIdentity);
} catch (NotRegisteredException e) {
@ -304,6 +305,7 @@ public class App {
+ ")", e);
}
logger.trace("Checking account state");
try {
manager.checkAccountState();
} catch (IOException e) {