Skip to content

Commit f76d836

Browse files
committed
WorkerCommand - do not return exit code 1 in case of internal errors, they are handled anyway
1 parent 492cd89 commit f76d836

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Command/WorkerCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ private function runWorker(
224224
$collectedData[] = $data;
225225
}
226226
} catch (Throwable $t) {
227-
$this->errorCount++;
228227
$internalErrorsCount++;
229228
$internalErrorMessage = sprintf('Internal error: %s while analysing file %s', $t->getMessage(), $file);
230229

0 commit comments

Comments
 (0)