mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-02 05:44:35 +01:00
Improve error message when the last provisioning steps fail
This commit is contained in:
@@ -134,16 +134,15 @@ public class ProvisioningManager {
|
||||
try {
|
||||
m.refreshPreKeys();
|
||||
} catch (Exception e) {
|
||||
logger.error("Failed to check new account state.");
|
||||
throw e;
|
||||
logger.error("Failed to refresh pre keys.");
|
||||
}
|
||||
|
||||
logger.debug("Requesting sync data");
|
||||
try {
|
||||
m.requestAllSyncData();
|
||||
} catch (Exception e) {
|
||||
logger.error("Failed to request sync messages from linked device.");
|
||||
throw e;
|
||||
logger.error(
|
||||
"Failed to request sync messages from linked device, data can be requested again with `sendSyncRequest`.");
|
||||
}
|
||||
|
||||
final var result = m;
|
||||
|
||||
Reference in New Issue
Block a user