Increase web request timeout, drop failed delivery receipts (#1699)

Increase web request timeout, drop failed delivery receipts, export error logging
This commit is contained in:
Scott Nonnenberg
2017-11-07 10:49:10 -08:00
committed by GitHub
parent 845291c51e
commit cae2b10af6
4 changed files with 5 additions and 4 deletions

View File

@@ -630,8 +630,8 @@
}
};
request.onerror = function(event) {
console.log('Error adding object to store:', error);
reject();
console.log('Error adding object to store:', event);
reject(new Error('saveAllMessage: onerror fired'));
};
});
});