mirror of
https://github.com/aljazceru/signal-cli.git
synced 2025-12-28 11:34:31 +01:00
Add additional logging
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user