增加 日志提醒

This commit is contained in:
iVampireSP.com 2022-11-08 21:00:22 +08:00
parent 16f1e27f34
commit a3c9d36902
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -42,7 +42,7 @@ public function handle()
$response = $http->get('hosts/' . $host->id);
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'));
}
}