add some debugging messages

This commit is contained in:
John Freed 2021-08-16 20:41:01 +02:00
parent 621bdc1492
commit d7f1e1df51
5 changed files with 32 additions and 16 deletions

View file

@ -179,13 +179,13 @@ public class ProvisioningManager {
try {
signalAccount = SignalAccount.load(pathConfig.getDataPath(), number, false);
} catch (IOException e) {
logger.debug("Account in use or failed to load.", e);
logger.error("Account in use or failed to load.", e);
return false;
}
try (signalAccount) {
if (signalAccount.isMasterDevice()) {
logger.debug("Account is a master device.");
logger.error("Account is a master device.");
return false;
}
@ -196,7 +196,7 @@ public class ProvisioningManager {
return true;
}
logger.debug("Account is still successfully linked.");
logger.error("Account is still successfully linked.");
return false;
}
}