Update (test): add indexing route
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
use App\Models\NewsSerpResult;
|
use App\Models\NewsSerpResult;
|
||||||
use DFSClientV3\DFSClient;
|
use DFSClientV3\DFSClient;
|
||||||
use Exception;
|
use Exception;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
|
|
||||||
|
|
||||||
class GetNewsSerpTask
|
class GetNewsSerpTask
|
||||||
{
|
{
|
||||||
@@ -72,6 +74,8 @@ public static function handle(Category $category, $country_iso)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
Log::error(json_encode($serp_obj));
|
||||||
|
inspector()->reportException($e);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user