0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-20 12:12:15 +02:00

Merge pull request #7025 from thundernest/improve_send_failure_logging

Write error message to log when skipping message during send
This commit is contained in:
cketti 2023-06-26 13:40:53 +02:00 committed by GitHub
commit 46657ba23c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1502,8 +1502,8 @@ public class MessagingController {
SendState sendState = outboxState.getSendState();
if (sendState != SendState.READY) {
Timber.v("Skipping sending message %s (reason: %s)", message.getUid(),
sendState.getDatabaseName());
Timber.v("Skipping sending message %s (reason: %s - %s)", message.getUid(),
sendState.getDatabaseName(), outboxState.getSendError());
if (sendState == SendState.RETRIES_EXCEEDED) {
lastFailure = new MessagingException("Retries exceeded", true);