Adds additional logging to boot path
This commit is contained in:
parent
be819f9fdd
commit
0843f569a0
3 changed files with 6 additions and 1 deletions
|
@ -1492,7 +1492,7 @@
|
|||
|
||||
let connectCount = 0;
|
||||
async function connect(firstRun) {
|
||||
window.log.info('connect');
|
||||
window.log.info('connect', firstRun);
|
||||
|
||||
// Bootstrap our online/offline detection, only the first time we connect
|
||||
if (connectCount === 0 && navigator.onLine) {
|
||||
|
@ -1537,6 +1537,7 @@
|
|||
Whisper.Notifications.disable(); // avoid notification flood until empty
|
||||
|
||||
// initialize the socket and start listening for messages
|
||||
window.log.info('Initializing socket and listening for messages');
|
||||
messageReceiver = new textsecure.MessageReceiver(
|
||||
USERNAME,
|
||||
PASSWORD,
|
||||
|
@ -1600,6 +1601,7 @@
|
|||
// eslint-disable-next-line eqeqeq
|
||||
textsecure.storage.user.getDeviceId() != '1'
|
||||
) {
|
||||
window.log.info('Boot after upgrading. Requesting contact sync');
|
||||
window.getSyncRequest();
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue