Do not delete background jobs, in case an exception occured
This approach is not valid anymore. It initially was added for jobs
of non existing apps. But jobs of non-existing apps can not be created
so they will never be executed and so this call just catches other
cases which were not intended.
This reverts commit 4f4ad72460
.
This commit is contained in:
parent
22d1b1285e
commit
6b813f56c9
|
@ -54,7 +54,6 @@ abstract class Job implements IJob {
|
||||||
if ($logger) {
|
if ($logger) {
|
||||||
$logger->error('Error while running background job: ' . $e->getMessage());
|
$logger->error('Error while running background job: ' . $e->getMessage());
|
||||||
}
|
}
|
||||||
$jobList->remove($this, $this->argument);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue