summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Alsharifi <bilal.alsharifi@gmail.com>2019-06-24 15:22:07 -0400
committerBilal Alsharifi <bilal.alsharifi@gmail.com>2019-06-24 15:22:07 -0400
commit8ea5849567c34fff05165246fc23c849ad86fb8f (patch)
treef8e6c22bb3e8cf1f8bf2f9f7cb0b09aa2c91b27c
parent56454a8bcfb542585803f39d931eca5acdca3d78 (diff)
downloadsdl_android-8ea5849567c34fff05165246fc23c849ad86fb8f.tar.gz
Print resultCode in error logsrelease/RC_4.9.0
-rw-r--r--base/src/main/java/com/smartdevicelink/managers/screen/choiceset/CheckChoiceVROptionalOperation.java6
-rw-r--r--base/src/main/java/com/smartdevicelink/managers/screen/choiceset/PreloadChoicesOperation.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/CheckChoiceVROptionalOperation.java b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/CheckChoiceVROptionalOperation.java
index b9551a6d9..074f89947 100644
--- a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/CheckChoiceVROptionalOperation.java
+++ b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/CheckChoiceVROptionalOperation.java
@@ -86,7 +86,7 @@ class CheckChoiceVROptionalOperation implements Runnable {
@Override
public void onError(int correlationId, Result resultCode, String info){
- DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with no VR failed. Error: " + info);
+ DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with no VR failed. Error: " + info + " resultCode: " + resultCode);
isVROptional = false;
if (checkChoiceVROptionalInterface != null){
checkChoiceVROptionalInterface.onError(info);
@@ -124,7 +124,7 @@ class CheckChoiceVROptionalOperation implements Runnable {
@Override
public void onError(int correlationId, Result resultCode, String info){
- DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with VR failed. Error: " + info);
+ DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with VR failed. Error: " + info + " resultCode: " + resultCode);
isVROptional = false;
if (checkChoiceVROptionalInterface != null){
checkChoiceVROptionalInterface.onError(info);
@@ -153,7 +153,7 @@ class CheckChoiceVROptionalOperation implements Runnable {
@Override
public void onError(int correlationId, Result resultCode, String info){
- DebugTool.logError("There was an error presenting the keyboard. Finishing operation - choice set manager - . Error: " + info);
+ DebugTool.logError("There was an error presenting the keyboard. Finishing operation - choice set manager - . Error: " + info + " resultCode: " + resultCode);
if (checkChoiceVROptionalInterface != null){
checkChoiceVROptionalInterface.onError(info);
}
diff --git a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/PreloadChoicesOperation.java b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/PreloadChoicesOperation.java
index e5b91841c..f3d708998 100644
--- a/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/PreloadChoicesOperation.java
+++ b/base/src/main/java/com/smartdevicelink/managers/screen/choiceset/PreloadChoicesOperation.java
@@ -165,7 +165,7 @@ class PreloadChoicesOperation implements Runnable {
@Override
public void onError(int correlationId, Result resultCode, String info) {
- DebugTool.logError("There was an error uploading a choice cell: "+ info);
+ DebugTool.logError("There was an error uploading a choice cell: "+ info + " resultCode: " + resultCode);
}
@Override