mirror of
https://github.com/chatmail/core.git
synced 2026-04-29 11:26:29 +03:00
Fix the message printed on job success
"Cannot be retried" does not make it clear if the job succeeded or failed.
This commit is contained in:
committed by
holger krekel
parent
186f5553b8
commit
a3f2088046
@@ -1035,10 +1035,7 @@ fn job_perform(context: &Context, thread: Thread, probe_network: bool) {
|
||||
"{} removes job {} as it failed with error {:?}", thread, job, err
|
||||
);
|
||||
} else {
|
||||
info!(
|
||||
context,
|
||||
"{} removes job {} as it cannot be retried", thread, job
|
||||
);
|
||||
info!(context, "{} removes job {} as it succeeded", thread, job);
|
||||
}
|
||||
|
||||
job.delete(context);
|
||||
|
||||
Reference in New Issue
Block a user