Include decryption error in decryption failure metrics
parent
230de44071
commit
3cadbd3974
|
@ -1312,7 +1312,7 @@ export default React.createClass({
|
||||||
// if the decryption was a failure
|
// if the decryption was a failure
|
||||||
cli.on("Event.decrypted", (e) => {
|
cli.on("Event.decrypted", (e) => {
|
||||||
if (e.isDecryptionFailure()) {
|
if (e.isDecryptionFailure()) {
|
||||||
Analytics.trackEvent('E2E', 'Decryption failure');
|
Analytics.trackEvent('E2E', 'Decryption failure', 'ev.content.body: ' + e.getContent().body);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue