summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-12-02 14:39:30 -0500
committerJoel Fischer <joeljfischer@gmail.com>2020-12-02 14:39:30 -0500
commitb6e606a94ff2e0042d9b5b4865799cfe6c7cde52 (patch)
tree8a69193195eeb44ca5f703fe02d6cc2b2da88be3
parenteb5ab5a29f1e495ca0276d032d62089b786a887f (diff)
downloadsdl_ios-feature/issue-1841-voice-command-manager.tar.gz
Make logs less clear but functionalfeature/issue-1841-voice-command-manager
-rw-r--r--SmartDeviceLink/private/SDLVoiceCommandUpdateOperation.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/SmartDeviceLink/private/SDLVoiceCommandUpdateOperation.m b/SmartDeviceLink/private/SDLVoiceCommandUpdateOperation.m
index c233a11b4..184615d63 100644
--- a/SmartDeviceLink/private/SDLVoiceCommandUpdateOperation.m
+++ b/SmartDeviceLink/private/SDLVoiceCommandUpdateOperation.m
@@ -95,7 +95,8 @@ NS_ASSUME_NONNULL_BEGIN
SDLLogV(@"Deleting voice commands progress: %f", percentComplete);
} completionHandler:^(BOOL success) {
if (!success) {
- SDLLogE(@"Error deleting old voice commands: %@", errors);
+ SDLLogE(@"Failed to send voice commands: %@", errors.allKeys);
+ SDLLogE(@"Failure reasons: %@", errors.allValues);
weakSelf.internalError = [NSError sdl_menuManager_failedToUpdateWithDictionary:errors];
return completionHandler();
}
@@ -127,7 +128,8 @@ NS_ASSUME_NONNULL_BEGIN
SDLLogV(@"Sending voice commands progress: %f", percentComplete);
} completionHandler:^(BOOL success) {
if (!success) {
- SDLLogE(@"Failed to send voice commands: %@", errors);
+ SDLLogE(@"Failed to send voice commands: %@", errors.allKeys);
+ SDLLogE(@"Failure reasons: %@", errors.allValues);
weakSelf.internalError = [NSError sdl_menuManager_failedToUpdateWithDictionary:errors];
return completionHandler();
}