We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2857ba1 commit aa2a345Copy full SHA for aa2a345
src/TaskHandler.php
@@ -86,6 +86,7 @@ private function captureTask($task): array
86
try {
87
$validator->validate();
88
} catch (ValidationException $e) {
89
+ report($e);
90
if (config('app.debug')) {
91
throw $e;
92
} else {
@@ -135,6 +136,7 @@ private function handleTask(array $task): void
135
136
$apiTask = CloudTasksApi::getTask($fullTaskName);
137
} catch (ApiException $e) {
138
if (in_array($e->getStatus(), ['NOT_FOUND', 'PRECONDITION_FAILED'])) {
139
140
abort(404);
141
}
142
0 commit comments