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 29, 12:04 AM
Unknown Object (File)
Nov 22 2024, 9:12 AM
Unknown Object (File)
Nov 22 2024, 8:47 AM
Unknown Object (File)
Nov 22 2024, 3:43 AM
Unknown Object (File)
Nov 7 2024, 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
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