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)
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
Unknown Object (File)
Oct 16 2024, 2:34 AM
Unknown Object (File)
Sep 4 2024, 6:20 PM
Unknown Object (File)
Sep 4 2024, 6:20 PM
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
Lint Not Applicable
Unit
Tests Not Applicable