lib/Service/QueueService.php 1 location
|
@@ 146-153 (lines=8) @@
|
| 143 |
|
* @throws Exception |
| 144 |
|
* @throws NotFoundException |
| 145 |
|
*/ |
| 146 |
|
private function handleException($e) { |
| 147 |
|
$this->logger->logException($e, ['app' => 'ocr', 'message' => 'Exception during message queue processing']); |
| 148 |
|
if ($e instanceof NotFoundException) { |
| 149 |
|
throw new NotFoundException($e->getMessage()); |
| 150 |
|
} else { |
| 151 |
|
throw $e; |
| 152 |
|
} |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
} |
lib/Service/OcrService.php 1 location
|
@@ 528-535 (lines=8) @@
|
| 525 |
|
* @throws Exception |
| 526 |
|
* @throws NotFoundException |
| 527 |
|
*/ |
| 528 |
|
private function handleException($e) { |
| 529 |
|
$this->logger->logException($e, ['app' => 'ocr', 'message' => 'Exception during ocr service function processing']); |
| 530 |
|
if ($e instanceof NotFoundException) { |
| 531 |
|
throw new NotFoundException($e->getMessage()); |
| 532 |
|
} else { |
| 533 |
|
throw $e; |
| 534 |
|
} |
| 535 |
|
} |
| 536 |
|
} |
| 537 |
|
|