wip
This commit is contained in:
@@ -47,7 +47,10 @@ class SendSberToSystem implements ShouldQueue
|
|||||||
$result = syncWithAzatAPI($orderItem);
|
$result = syncWithAzatAPI($orderItem);
|
||||||
|
|
||||||
if (isset($result['error'])) {
|
if (isset($result['error'])) {
|
||||||
Log::channel('sber_job')->error($result['error']);
|
Log::channel('sber_job')->error(json_encode([
|
||||||
|
'error' => $result['error'],
|
||||||
|
'orderItem' => $orderItem,
|
||||||
|
]));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user