diff --git a/lib/Model/Runner.php b/lib/Model/Runner.php index 96ef545b..552aa912 100644 --- a/lib/Model/Runner.php +++ b/lib/Model/Runner.php @@ -393,12 +393,18 @@ private function updateTick(int $tick, string $action) { try { $this->runningService->update($this->tickId, $action); + $this->tickUpdate = $tick; } catch (TickIsNotAliveException $e) { - $this->output('Force Quit'); - exit(); + $this->output('No Force Quit'); + /** + * ToDo: we must collect all errors and publish the error messages once the job finishes + * to allow the admin or the user to fix the problems or accept that not all files are indexed. + * Obviously there are probably many more files not indexed if the "Force Quit" cause can not be fixed for some reason. + * exit(); + */ } - $this->tickUpdate = $tick; + }