We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ff4310 commit f2dad3bCopy full SHA for f2dad3b
app/Console/Commands/SqsListenerOcrUpdate.php
@@ -84,17 +84,6 @@ private function routeMessage(array $data): void
84
85
// Dispatch job for BOTH success and failure
86
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
- }
98
}
99
100
private function hasActiveOcrJobs(): bool
0 commit comments