Page MenuHomePhabricator

[native] helper to handle unexpected response
ClosedPublic

Authored by varun on Aug 16 2022, 8:24 PM.
Tags
None
Referenced Files
F2192628: D4854.id15696.diff
Thu, Jul 4, 8:12 PM
Unknown Object (File)
Wed, Jul 3, 8:11 AM
Unknown Object (File)
Sun, Jun 30, 8:23 AM
Unknown Object (File)
Wed, Jun 26, 2:30 AM
Unknown Object (File)
Wed, Jun 26, 2:30 AM
Unknown Object (File)
Wed, Jun 26, 2:29 AM
Unknown Object (File)
Wed, Jun 26, 2:26 AM
Unknown Object (File)
Thu, Jun 20, 7:20 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