diff --git a/Signal/src/util/Pastelog.m b/Signal/src/util/Pastelog.m index 370bb25c2..298b0a815 100644 --- a/Signal/src/util/Pastelog.m +++ b/Signal/src/util/Pastelog.m @@ -126,9 +126,9 @@ typedef void (^DebugLogUploadFailure)(DebugLogUploader *uploader, NSError *error // Add a file extension to the upload's key. NSString *fileExtension = strongSelf.fileUrl.lastPathComponent.pathExtension; if (fileExtension.length < 1) { - DDLogError(@"%@ Invalid response: %@, %@", strongSelf.logTag, urlString, responseObject); + DDLogError(@"%@ Invalid file url: %@, %@", strongSelf.logTag, urlString, responseObject); [strongSelf - failWithError:OWSErrorWithCodeDescription(OWSErrorCodeDebugLogUploadFailed, @"Invalid response")]; + failWithError:OWSErrorWithCodeDescription(OWSErrorCodeDebugLogUploadFailed, @"Invalid file url")]; return; } uploadKey = [uploadKey stringByAppendingPathExtension:fileExtension];