Log more detailed provisioning errors
This commit is contained in:
parent
936a68433d
commit
0e65e67077
@ -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…
x
Reference in New Issue
Block a user