mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +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 {
|
try {
|
||||||
m.refreshPreKeys();
|
m.refreshPreKeys();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Failed to check new account state.");
|
logger.error("Failed to refresh pre keys.");
|
||||||
throw e;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug("Requesting sync data");
|
logger.debug("Requesting sync data");
|
||||||
try {
|
try {
|
||||||
m.requestAllSyncData();
|
m.requestAllSyncData();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Failed to request sync messages from linked device.");
|
logger.error(
|
||||||
throw e;
|
"Failed to request sync messages from linked device, data can be requested again with `sendSyncRequest`.");
|
||||||
}
|
}
|
||||||
|
|
||||||
final var result = m;
|
final var result = m;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue