wip
This commit is contained in:
@@ -47,7 +47,7 @@ class SendSberToSystem implements ShouldQueue
|
||||
$result = syncWithAzatAPI($orderItem);
|
||||
|
||||
if (isset($result['error'])) {
|
||||
Log::error($result['error']);
|
||||
Log::channel('sber_job')->error($result['error']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -161,6 +161,13 @@ return [
|
||||
'level' => env('LOG_LEVEL', 'error'),
|
||||
'replace_placeholders' => true,
|
||||
],
|
||||
|
||||
'sber_job' => [
|
||||
'driver' => 'single',
|
||||
'path' => storage_path('logs/sber_job.log'),
|
||||
'level' => env('LOG_LEVEL', 'error'),
|
||||
'replace_placeholders' => true,
|
||||
],
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user