Merge "SapImpl: log error description"
am: b3e6a478ff
Change-Id: Ibd4c8aa2c39e4c55e666392fc7d2bf98927cd461
diff --git a/libril/sap_service.cpp b/libril/sap_service.cpp
index 81b04c9..29c2f38 100644
--- a/libril/sap_service.cpp
+++ b/libril/sap_service.cpp
@@ -76,7 +76,8 @@
void SapImpl::checkReturnStatus(Return<void>& ret) {
if (ret.isOk() == false) {
- RLOGE("checkReturnStatus: unable to call response/indication callback");
+ RLOGE("checkReturnStatus: unable to call response/indication callback: %s",
+ ret.description().c_str());
// Remote process (SapRilReceiver.java) hosting the callback must be dead. Reset the
// callback object; there's no other recovery to be done here. When the client process is
// back up, it will call setCallback()