Page MenuHomePhabricator

[native] Improve logging for thick threads notifs
ClosedPublic

Authored by ashoat on Sep 23 2024, 10:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 8, 7:02 PM
Unknown Object (File)
Fri, Nov 8, 7:02 PM
Unknown Object (File)
Fri, Nov 8, 7:01 PM
Unknown Object (File)
Fri, Nov 8, 2:08 AM
Unknown Object (File)
Mon, Oct 21, 9:21 AM
Unknown Object (File)
Oct 14 2024, 8:40 PM
Unknown Object (File)
Oct 14 2024, 5:56 AM
Unknown Object (File)
Oct 7 2024, 11:04 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