OSDN Git Service

SapImpl: log error description
authorSteven Moreland <smoreland@google.com>
Tue, 28 Mar 2017 15:55:58 +0000 (08:55 -0700)
committerSteven Moreland <smoreland@google.com>
Wed, 29 Mar 2017 00:11:04 +0000 (00:11 +0000)
Test: pass
Bug: 35937742
Change-Id: I9784a15d8de5dc8a0bff849d5d3ef8c162bcb1a0

libril/sap_service.cpp

index 81b04c9..29c2f38 100644 (file)
@@ -76,7 +76,8 @@ struct SapImpl : public ISap {
 
 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()