Merge pull request #2033 from matrix-org/luke/track-uisis-piwik-specify-event-name

Track an event name when tracking a decryption failure
This commit is contained in:
Luke Barnard 2018-07-02 10:26:34 +01:00 committed by GitHub
commit 767e67dc70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1306,7 +1306,7 @@ export default React.createClass({
const dft = new DecryptionFailureTracker((total) => { const dft = new DecryptionFailureTracker((total) => {
// TODO: Pass reason for failure as third argument to trackEvent // TODO: Pass reason for failure as third argument to trackEvent
Analytics.trackEvent('E2E', 'Decryption failure', null, total); Analytics.trackEvent('E2E', 'Decryption failure', 'unspecified_error', total);
}); });
// Shelved for later date when we have time to think about persisting history of // Shelved for later date when we have time to think about persisting history of