diff options
author | Michael Butler <butlermichael@google.com> | 2020-11-22 20:25:34 -0800 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2020-12-07 22:38:16 -0800 |
commit | cca3e20e23d719ccda36728ea3a37807f52ba6dd (patch) | |
tree | 782839fe3c3d969249bd41d2ce485cc69686d234 /identity/support/src/cppbor_parse.cpp | |
parent | 6547b2ac9c963d92fa80e822963240fe07a7da9f (diff) |
Cleanup how transport errors are handled in NN utils
Prior to this change, whenever the NN utility code encountered a HIDL
transport error, the error message would display the file and line
number of the "handleTransportError" function itself. This change
introduces a new macro "HANDLE_TRANSPORT_FAILURE" that handles the
transport error in a similar way but now the error message displays
the file and line number of where the macro is called.
Bug: N/A
Test: mma
Change-Id: I35b34f8f5be52b7fcff0fbb58a37ab2b8c7dd8bb
Merged-In: I35b34f8f5be52b7fcff0fbb58a37ab2b8c7dd8bb
(cherry picked from commit 61f508e018cff89c93a7e08b3dbde1eb6a2155df)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions