diff options
author | NicoleYarroch <nicole@livio.io> | 2019-05-28 14:06:05 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2019-05-28 14:06:05 -0400 |
commit | 1e7b634babd4d69e4319d0098bda7a0f1bedfd5b (patch) | |
tree | aafd2ce3c40f6fb9fbd6f2cf09eee1cf57baeaa8 | |
parent | 25f8f76a73900c1a8e8640172add522ffd73e873 (diff) | |
download | sdl_ios-1e7b634babd4d69e4319d0098bda7a0f1bedfd5b.tar.gz |
Fixed SDL log statementsbugfix/issue_1264_file_manager_race_condition
-rw-r--r-- | SmartDeviceLink/SDLFileManager.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLFileManager.m b/SmartDeviceLink/SDLFileManager.m index 60b6192d0..eef7e92ac 100644 --- a/SmartDeviceLink/SDLFileManager.m +++ b/SmartDeviceLink/SDLFileManager.m @@ -525,17 +525,17 @@ SDLFileManagerState *const SDLFileManagerStateStartupError = @"StartupError"; */ - (BOOL)sdl_canFileBeUploadedAgain:(nullable SDLFile *)file maxUploadCount:(UInt8)maxUploadCount failedFileUploadsCount:(NSMutableDictionary<SDLFileName *, NSNumber<SDLUInt> *> *)failedFileUploadsCount { if (![self.currentState isEqualToString:SDLFileManagerStateReady]) { - SDLLogE(@"File named %@ failed to upload. The file manager has shutdown so the file will not be sent again.", file.name); + SDLLogW(@"File named %@ failed to upload. The file manager has shutdown so the file upload will not retry.", file.name); return NO; } if (!file) { - SDLLogE(@"File named %@ can not be uploaded because it is not a valid file.", file.name); + SDLLogE(@"File can not be uploaded because it is not a valid file."); return NO; } if ([self hasUploadedFile:file]) { - SDLLogE(@"File named %@ has already been uploaded.", file.name); + SDLLogD(@"File named %@ has already been uploaded.", file.name); return NO; } |