Skip to content

Commit 9591b39

Browse files
committed
Remove debug reports
1 parent 9ab5a81 commit 9591b39

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/TaskHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ private function captureTask($task): array
8686
try {
8787
$validator->validate();
8888
} catch (ValidationException $e) {
89-
report($e);
9089
if (config('app.debug')) {
9190
throw $e;
9291
} else {
@@ -136,7 +135,6 @@ private function handleTask(array $task): void
136135
$apiTask = CloudTasksApi::getTask($fullTaskName);
137136
} catch (ApiException $e) {
138137
if (in_array($e->getStatus(), ['NOT_FOUND', 'PRECONDITION_FAILED'])) {
139-
report($e);
140138
abort(404);
141139
}
142140

0 commit comments

Comments
 (0)