Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log decryption error details as context in AnalyticsEvent #6047

Merged
merged 1 commit into from
Apr 21, 2022

Conversation

Anderas
Copy link
Contributor

@Anderas Anderas commented Apr 19, 2022

Resolves #6046

Use the existing context property of AnalyticsEvent type to log additional details about UISI and decryption errors, which are currently being discared (and making it harder to monitor and fix errors). The context is just a string field and does not have any standardized format, in this particular PR I am logging the data as "code: X, description: more details of the error".

This PR is meant as a transitionary solution to find out faster what the majority of "unknown" errors in our analytics are. As the next step we would like to define a dedicated DecryptionError type in the analytics schema and define a broader range of errors suitable for our analytics.

@Anderas Anderas requested review from BillCarsonFr, a team and stefanceriu and removed request for a team April 19, 2022 15:14
@github-actions
Copy link

📱 Scan the QR code below to install the build for this PR.
🔒 This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha.

QR code

If you can't scan the QR code you can install the build via this link: https://i.diawi.com/qCgWGy

@Anderas Anderas requested review from a team and ismailgulek and removed request for stefanceriu and a team April 21, 2022 07:21
@Anderas Anderas merged commit 3184280 into develop Apr 21, 2022
@Anderas Anderas deleted the andy/6046_uisi_context branch April 21, 2022 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log more details for UISI via context of AnalyticsEvent
2 participants