diff --git a/src/Messages/Attachments/TSAttachmentStream.m b/src/Messages/Attachments/TSAttachmentStream.m index 14860f960..27ad97922 100644 --- a/src/Messages/Attachments/TSAttachmentStream.m +++ b/src/Messages/Attachments/TSAttachmentStream.m @@ -310,7 +310,7 @@ NS_ASSUME_NONNULL_BEGIN NSError *deletionError; [fileManager removeItemAtURL:url error:&deletionError]; if (deletionError) { - OWSFail(@"failed to remove item at path: %@ with error: %@", filePath, deletionError); + OWSFail(@"failed to remove item at path: %@ with error: %@", url, deletionError); // continue to try to delete remaining items. } }