Page MenuHomePhabricator

[native] helper to handle unexpected response
ClosedPublic

Authored by varun on Aug 16 2022, 8:24 PM.
Tags
None
Referenced Files
F2903100: D4854.id15696.diff
Sat, Oct 5, 8:36 PM
Unknown Object (File)
Thu, Oct 3, 3:34 PM
Unknown Object (File)
Wed, Oct 2, 4:35 AM
Unknown Object (File)
Tue, Oct 1, 1:50 PM
Unknown Object (File)
Sun, Sep 29, 2:32 PM
Unknown Object (File)
Sun, Sep 29, 4:00 AM
Unknown Object (File)
Thu, Sep 26, 10:11 PM
Unknown Object (File)
Thu, Sep 26, 11:48 AM

Details

Summary

We log the same error and return the same status multiple times, so I've moved this logic to a separate helper function.

Test Plan

cargo build; this logic will get tested more by the functions that call it

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable