mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 22:46:29 +03:00
Better logging message for job deletion
The logging message printed for successful job completion said that the job "cannot be retried" even when it does not need to be retried.
This commit is contained in:
@@ -873,10 +873,8 @@ fn job_perform(context: &Context, thread: Thread, probe_network: bool) {
|
||||
// to give other jobs a chance being tried at least once.
|
||||
break;
|
||||
} else {
|
||||
info!(
|
||||
context,
|
||||
"{} removes job {} as it cannot be retried", thread, job
|
||||
);
|
||||
// Job finished successfully or cannot be retried.
|
||||
info!(context, "{} removes job {}", thread, job);
|
||||
job.delete(context);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user