Skip to content

Commit 8ea5849

Browse files
Print resultCode in error logs
1 parent 56454a8 commit 8ea5849

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

base/src/main/java/com/smartdevicelink/managers/screen/choiceset/CheckChoiceVROptionalOperation.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void onResponse(int correlationId, RPCResponse response) {
8686

8787
@Override
8888
public void onError(int correlationId, Result resultCode, String info){
89-
DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with no VR failed. Error: " + info);
89+
DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with no VR failed. Error: " + info + " resultCode: " + resultCode);
9090
isVROptional = false;
9191
if (checkChoiceVROptionalInterface != null){
9292
checkChoiceVROptionalInterface.onError(info);
@@ -124,7 +124,7 @@ public void onResponse(int correlationId, RPCResponse response) {
124124

125125
@Override
126126
public void onError(int correlationId, Result resultCode, String info){
127-
DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with VR failed. Error: " + info);
127+
DebugTool.logError("There was an error in the check choice vr optional operation. Send test choice with VR failed. Error: " + info + " resultCode: " + resultCode);
128128
isVROptional = false;
129129
if (checkChoiceVROptionalInterface != null){
130130
checkChoiceVROptionalInterface.onError(info);
@@ -153,7 +153,7 @@ public void onResponse(int correlationId, RPCResponse response) {
153153

154154
@Override
155155
public void onError(int correlationId, Result resultCode, String info){
156-
DebugTool.logError("There was an error presenting the keyboard. Finishing operation - choice set manager - . Error: " + info);
156+
DebugTool.logError("There was an error presenting the keyboard. Finishing operation - choice set manager - . Error: " + info + " resultCode: " + resultCode);
157157
if (checkChoiceVROptionalInterface != null){
158158
checkChoiceVROptionalInterface.onError(info);
159159
}

base/src/main/java/com/smartdevicelink/managers/screen/choiceset/PreloadChoicesOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public void onFinished() {
165165

166166
@Override
167167
public void onError(int correlationId, Result resultCode, String info) {
168-
DebugTool.logError("There was an error uploading a choice cell: "+ info);
168+
DebugTool.logError("There was an error uploading a choice cell: "+ info + " resultCode: " + resultCode);
169169
}
170170

171171
@Override

0 commit comments

Comments
 (0)