改进 日志记录
This commit is contained in:
parent
1195051946
commit
22fa93a15c
@ -54,7 +54,10 @@ public function handle(): void
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!$response->successful()) {
|
if (!$response->successful()) {
|
||||||
Log::debug('WorkOrder push failed', $response->json());
|
Log::debug('WorkOrder push failed', [
|
||||||
|
'response' => $response->json(),
|
||||||
|
'workOrder' => $this->workOrder->toArray(),
|
||||||
|
]);
|
||||||
|
|
||||||
$this->workOrder->update([
|
$this->workOrder->update([
|
||||||
'status' => 'error'
|
'status' => 'error'
|
||||||
|
Loading…
Reference in New Issue
Block a user