Skip to content

Commit f2dad3b

Browse files
committed
Remove failed error message
1 parent 0ff4310 commit f2dad3b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

app/Console/Commands/SqsListenerOcrUpdate.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,6 @@ private function routeMessage(array $data): void
8484

8585
// Dispatch job for BOTH success and failure
8686
TesseractOcrUpdateJob::dispatch($data);
87-
88-
// Only log/email on failure
89-
if ($status === 'failed') {
90-
$error = $data['error'] ?? 'Unknown OCR error';
91-
$this->service->handleError(
92-
"OCR failed for file ID #{$ocrQueueFileId}: {$error}",
93-
null,
94-
$data,
95-
$this
96-
);
97-
}
9887
}
9988

10089
private function hasActiveOcrJobs(): bool

0 commit comments

Comments
 (0)