mirror of https://github.com/vector-im/riot-web
Track an event name when tracking a decryption failure
Otherwise piwik will not agregate the failures correctly for all views.pull/21833/head
parent
41dee71d38
commit
0dd3a77432
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue