Add more logging around missing RecipientId.

This commit is contained in:
Nicholas Tinsley
2023-09-25 12:20:12 -04:00
committed by Cody Henthorne
parent f5215d715a
commit bce133ac28
5 changed files with 25 additions and 14 deletions

View File

@@ -601,7 +601,11 @@ open class RecipientTable(context: Context, databaseHelper: SignalDatabase) : Da
}
val recipientId = RecipientId.from(id)
update(recipientId, groupUpdates)
val updateSuccess = update(recipientId, groupUpdates)
if (!updateSuccess) {
Log.w(TAG, "Failed to update newly-created record for $recipientId")
}
return recipientId
}