mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Track an event name when tracking a decryption failure
Otherwise piwik will not agregate the failures correctly for all views.
This commit is contained in:
parent
41dee71d38
commit
0dd3a77432
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user