You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user