Track an event name when tracking a decryption failure

Otherwise piwik will not agregate the failures correctly for all views.
pull/21833/head
Luke Barnard 2018-07-02 09:45:32 +01:00
parent 41dee71d38
commit 0dd3a77432
1 changed files with 1 additions and 1 deletions

View File

@ -1306,7 +1306,7 @@ export default React.createClass({
const dft = new DecryptionFailureTracker((total) => {
// 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