diff --git a/app/Jobs/Tasks/GetNewsSerpTask.php b/app/Jobs/Tasks/GetNewsSerpTask.php index 3158816..26415ae 100644 --- a/app/Jobs/Tasks/GetNewsSerpTask.php +++ b/app/Jobs/Tasks/GetNewsSerpTask.php @@ -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; }