Page MenuHomePhabricator

[native] helper to handle unexpected response
ClosedPublic

Authored by varun on Aug 16 2022, 8:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 16, 7:16 AM
Unknown Object (File)
Sat, Mar 15, 7:41 PM
Unknown Object (File)
Thu, Mar 6, 5:04 AM
Unknown Object (File)
Thu, Mar 6, 5:04 AM
Unknown Object (File)
Thu, Mar 6, 5:04 AM
Unknown Object (File)
Wed, Mar 5, 6:00 PM
Unknown Object (File)
Wed, Mar 5, 6:00 PM
Unknown Object (File)
Wed, Mar 5, 6:00 PM

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