|
|
@@ -159,14 +159,12 @@ class JdTmaoProductDataJobs implements ShouldQueue
|
|
|
JdTmaoProductJobs::dispatch($message_data);
|
|
|
}
|
|
|
} catch (\Exception $e) {
|
|
|
- print_r($e->getMessage());
|
|
|
- exit;
|
|
|
Log::info('job_error', '采集数据-医药城数据处理队列失败', ['data' => $this->message_data, 'error' => $e->getMessage()]);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
public function failed(\Throwable $exception)
|
|
|
{
|
|
|
- Log::info('job_error', '采集数据-医药城数据处理队列完全失败', ['data' => $this->message_data, 'error' => $exception]);
|
|
|
+ Log::info('job_error', '采集数据-京东天猫数据处理队列完全失败', ['data' => $this->message_data, 'error' => $exception]);
|
|
|
}
|
|
|
}
|