增加 日志提醒
This commit is contained in:
parent
16f1e27f34
commit
a3c9d36902
@ -42,7 +42,7 @@ public function handle()
|
|||||||
$response = $http->get('hosts/' . $host->id);
|
$response = $http->get('hosts/' . $host->id);
|
||||||
|
|
||||||
if ($response->status() === 404) {
|
if ($response->status() === 404) {
|
||||||
// Log::debug($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除');
|
Log::warning($host->module->name . ' ' . $host->name . ' ' . $host->id . ' 不存在,删除。');
|
||||||
dispatch(new \App\Jobs\Remote\Host($host, 'delete'));
|
dispatch(new \App\Jobs\Remote\Host($host, 'delete'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user