diff options
author | 2024-05-25 00:25:02 +0000 | |
---|---|---|
committer | 2024-05-25 00:27:37 +0000 | |
commit | b6fe242037c31b8502aa2e5e9d1af048747ec3cd (patch) | |
tree | 1bbf49047af2d53dc361a74a9dc165c97b0470cf /libs/binder/IPCThreadState.cpp | |
parent | dbecfa8c6e89fe56d323be583f73b620976ee12f (diff) |
libbinder: extended error more info
Add into log what these mean.
Fixes: 319532604
Test: N/A
Change-Id: I7a85a8daac294eec8b93e2c3fce46d5123209fe1
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r-- | libs/binder/IPCThreadState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index ef96f803c3..e5be71c56b 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -1578,8 +1578,8 @@ void IPCThreadState::logExtendedError() { } #endif - ALOGE_IF(ee.command != BR_OK, "Binder transaction failure: %d/%d/%d", - ee.id, ee.command, ee.param); + ALOGE_IF(ee.command != BR_OK, "Binder transaction failure. id: %d, BR_*: %d, error: %d (%s)", + ee.id, ee.command, ee.param, strerror(-ee.param)); } void IPCThreadState::freeBuffer(const uint8_t* data, size_t /*dataSize*/, |