mirror of
https://github.com/chatmail/core.git
synced 2026-05-23 00:36:32 +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
|
"{} removes job {} as it failed with error {:?}", thread, job, err
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
info!(
|
info!(context, "{} removes job {} as it succeeded", thread, job);
|
||||||
context,
|
|
||||||
"{} removes job {} as it cannot be retried", thread, job
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
job.delete(context);
|
job.delete(context);
|
||||||
|
|||||||
Reference in New Issue
Block a user