Page MenuHomePhabricator

[keyserver] Ignore promise rejections from state check mechanism
ClosedPublic

Authored by ashoat on Dec 4 2023, 1:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 9:12 AM
Unknown Object (File)
Fri, Nov 22, 8:47 AM
Unknown Object (File)
Fri, Nov 22, 3:43 AM
Unknown Object (File)
Thu, Nov 7, 5:09 AM
Unknown Object (File)
Oct 16 2024, 2:35 AM
Unknown Object (File)
Oct 16 2024, 2:35 AM
Unknown Object (File)
Oct 16 2024, 2:35 AM
Unknown Object (File)
Oct 16 2024, 2:34 AM
Subscribers

Details

Summary

The unused-promise Lint identified an issue here. Since we don't handle promise rejections from this code, there is a risk of crashing the keyserver.

To avoid that, in this diff I wrap the call with ignorePromiseRejections.

Depends on D10181

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage