select()->where('post_id', $this->post_id)->first(); $vkService = new VkService(); $vkService->updatePost($postRelation->vk_post_id, $this->title, $this->text, $this->images, $this->publish_date); } catch (\Exception $e) { Log::channel('vk')->error('Failed to update VK post', ['error' => $e->getMessage()]); throw $e; // Перебрасываем исключение для повторной попытки } } }