feat(logging): migrate VK API jobs and services to vk channel

This commit is contained in:
F4ilji
2026-07-05 23:26:41 +05:00
parent 720aa4d0ae
commit 41b00fcdae
9 changed files with 53 additions and 54 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class CreateVkPost implements ShouldQueue
);
} catch (\Exception $e) {
Log::error('Ошибка при создании поста: ' . $e->getMessage());
Log::channel('vk')->error('Failed to create VK post', ['error' => $e->getMessage()]);
throw $e; // Перебрасываем исключение для повторной попытки
}
}