mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 10:58:40 +00:00
improve logging
This commit is contained in:
parent
108a58ffe1
commit
7aeaa97a68
2 changed files with 1 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ Future<(Uint8List, Uint8List?)?> tryToSendCompleteMessage({
|
|||
if (receipt == null) {
|
||||
receipt = await twonlyDB.receiptsDao.getReceiptById(receiptId!);
|
||||
if (receipt == null) {
|
||||
Log.error('Receipt not found.');
|
||||
Log.warn('Receipt not found.');
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -134,7 +134,6 @@ Future<void> handleClient2ClientMessage(int fromUserId, Uint8List body) async {
|
|||
..receiptId = receiptId
|
||||
..type = Message_Type.PLAINTEXT_CONTENT
|
||||
..plaintextContent = responsePlaintextContent;
|
||||
Log.error('Sending decryption error');
|
||||
} else {
|
||||
response = Message()..type = Message_Type.SENDER_DELIVERY_RECEIPT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue