Commit 4f4ad724 authored by Robin Appelman's avatar Robin Appelman
Browse files

remove background jobs if they are failing

parent 35bb6f7e
......@@ -36,6 +36,7 @@ abstract class Job {
if ($logger) {
$logger->error('Error while running background job: ' . $e->getMessage());
}
$jobList->remove($this, $this->argument);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment