Page MenuHomePhabricator

[native] Improve logging for thick threads notifs
ClosedPublic

Authored by ashoat on Sep 23 2024, 10:14 PM.
Tags
None
Referenced Files
F3515845: D13430.id44453.diff
Sun, Dec 22, 10:33 AM
Unknown Object (File)
Thu, Dec 5, 7:50 PM
Unknown Object (File)
Thu, Dec 5, 7:44 PM
Unknown Object (File)
Thu, Dec 5, 7:44 PM
Unknown Object (File)
Thu, Dec 5, 6:19 PM
Unknown Object (File)
Nov 18 2024, 5:45 PM
Unknown Object (File)
Nov 8 2024, 7:02 PM
Unknown Object (File)
Nov 8 2024, 7:02 PM
Subscribers

Details

Summary

I found these logging improvements helpful while investigating ENG-9233. I'll annotate each inline.

Test Plan

Confirmed logging improvements

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

lib/push/crypto.js
192

Before:

Notification encryption failed: [object Object]

After:

Notification encryption failed {"message": "Session with deviceID: tjiSvK/6Z1aebjrLb55mpzWoIiN4Lr3yndNvNYw7ySo not initialized."}
lib/push/send-utils.js
1001

Before:

[TypeError: undefined is not a function]

After:

Olm session creation failed [TypeError: undefined is not a function]
This revision is now accepted and ready to land.Sep 24 2024, 9:16 AM