Update (test): add indexing route

This commit is contained in:
2023-09-26 09:12:14 +08:00
parent 214cc92af4
commit e20d28fbd8

View File

@@ -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;
}