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:
commit
46657ba23c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user