feat(logging): migrate remaining files to app channel — all Log:: calls now use domain channels
This commit is contained in:
@@ -50,7 +50,7 @@ class EducationalProgramService
|
||||
|
||||
return $data;
|
||||
} catch (\Exception $e) {
|
||||
Log::error('Ошибка при вызове API: ' . $e->getMessage());
|
||||
Log::channel('app')->error('API call failed', ['error' => $e->getMessage()]);
|
||||
throw $e; // Перебрасываем исключение
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user