From 0485e1a19424677f756d50f79df0005db23f3130 Mon Sep 17 00:00:00 2001 From: Joel Fischer Date: Fri, 23 Jan 2015 12:04:33 -0500 Subject: [PATCH] Add an error log when launch app fails --- sdl_ios/SmartDeviceLink/SDLProxy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl_ios/SmartDeviceLink/SDLProxy.m b/sdl_ios/SmartDeviceLink/SDLProxy.m index 93e85d99a..184db1ec1 100644 --- a/sdl_ios/SmartDeviceLink/SDLProxy.m +++ b/sdl_ios/SmartDeviceLink/SDLProxy.m @@ -500,7 +500,7 @@ - (void)handleSystemRequestQueryApps:(SDLOnSystemRequest *)request { - (void)handleSystemRequestLaunchApp:(SDLOnSystemRequest *)request { NSURL *URLScheme = [NSURL URLWithString:request.url]; if (URLScheme == nil) { - // TODO: Log an error + [SDLDebugTool logInfo:[NSString stringWithFormat:@"Launch App failure: invalid URL sent from module: %@", request.url] withType:SDLDebugType_RPC toOutput:SDLDebugOutput_All toGroup:self.debugConsoleGroupName]; return; }