mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 02:20:39 +00:00
Improve error message when the last provisioning steps fail
This commit is contained in:
parent
d4b9356c5c
commit
3636023cb8
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue