Page MenuHomePhabricator

[Keyserver/rust] Improve debugging
ClosedPublic

Authored by jon on Jul 20 2023, 9:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 15, 3:33 PM
Unknown Object (File)
Sun, Sep 15, 3:33 PM
Unknown Object (File)
Sun, Sep 15, 3:33 PM
Unknown Object (File)
Sun, Sep 15, 3:25 PM
Unknown Object (File)
Thu, Sep 5, 3:43 AM
Unknown Object (File)
Aug 12 2024, 11:23 PM
Unknown Object (File)
Aug 12 2024, 11:23 PM
Unknown Object (File)
Aug 12 2024, 11:22 PM
Subscribers

Details

Summary

This was useful in helping track down
https://linear.app/comm/issue/ENG-4418. Would like to see these changes
persisted so if errors do arise in the future, we get more than nothing

Test Plan
cd keyserver
RUST_LOG=debug yarn dev

Diff Detail

Repository
rCOMM Comm
Branch
jonringer/keyserver-rust-debug
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Jul 20 2023, 9:58 AM
This revision was automatically updated to reflect the committed changes.
keyserver/src/user/login.js
175 ↗(On Diff #29020)

For future reference, Node generally does a better job coercing things into strings than getMessageForException