mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Log more detailed provisioning errors
This commit is contained in:
parent
936a68433d
commit
0e65e67077
1 changed files with 3 additions and 2 deletions
|
@ -161,7 +161,7 @@ class ProvisioningManagerImpl implements ProvisioningManager {
|
||||||
try {
|
try {
|
||||||
m.refreshPreKeys();
|
m.refreshPreKeys();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Failed to refresh pre keys.");
|
logger.error("Failed to refresh pre keys.", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.debug("Requesting sync data");
|
logger.debug("Requesting sync data");
|
||||||
|
@ -169,7 +169,8 @@ class ProvisioningManagerImpl implements ProvisioningManager {
|
||||||
m.requestAllSyncData();
|
m.requestAllSyncData();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error(
|
logger.error(
|
||||||
"Failed to request sync messages from linked device, data can be requested again with `sendSyncRequest`.");
|
"Failed to request sync messages from linked device, data can be requested again with `sendSyncRequest`.",
|
||||||
|
e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (newManagerListener != null) {
|
if (newManagerListener != null) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue