Page MenuHomePhabricator

[native] Improve logging for thick threads notifs
ClosedPublic

Authored by ashoat on Mon, Sep 23, 10:14 PM.
Tags
None
Referenced Files
F2846677: D13430.id44453.diff
Sun, Sep 29, 11:30 PM
F2845490: D13430.diff
Sun, Sep 29, 9:29 PM
F2839959: D13430.diff
Sun, Sep 29, 4:00 AM
F2839368: D13430.diff
Sun, Sep 29, 1:46 AM
Unknown Object (File)
Sat, Sep 28, 1:00 AM
Unknown Object (File)
Wed, Sep 25, 1:29 AM
Unknown Object (File)
Wed, Sep 25, 1:29 AM
Unknown Object (File)
Wed, Sep 25, 1:01 AM
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.Tue, Sep 24, 9:16 AM