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