feat(logging): migrate remaining files to app channel — all Log:: calls now use domain channels
This commit is contained in:
@@ -81,7 +81,7 @@ class DirectionStudyService
|
||||
|
||||
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