Logging around attachments pre-uploads.
This commit is contained in:
parent
243c86cec3
commit
907918d3fa
2 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,7 @@ public final class AttachmentCompressionJob extends BaseJob {
|
|||
AttachmentTable database = SignalDatabase.attachments();
|
||||
DatabaseAttachment databaseAttachment = database.getAttachment(attachmentId);
|
||||
if (databaseAttachment == null) {
|
||||
Log.i(TAG, "Could not find attachment in DB for compression job upon failure.");
|
||||
Log.i(TAG, "Could not find attachment " + attachmentId.id + " in DB for compression job upon failure.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -286,6 +286,7 @@ class MediaSelectionViewModel(
|
|||
selectedMediaSubject.onNext(newMediaList)
|
||||
repository.deleteBlobs(listOf(media))
|
||||
|
||||
Log.d(TAG, "User removed ${media.uri} from message.")
|
||||
cancelUpload(media)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue