This commit is contained in:
xman 2025-06-06 15:57:33 +08:00
parent 631cd00d17
commit c9944b8b07

View File

@ -79,12 +79,12 @@ class CheckOrderDispatchGotCommand extends Command
echo 'arrive_count:'. $count. PHP_EOL;
}catch (Exception $exception){
echo $exception->getMessage(). PHP_EOL;
Db::name('debug_log')->insert([
'title' => $this->title,
'content' => '超时,错误内容:'.$exception->getMessage().',错误行:'. $exception->getLine().',错误文件:'. $exception->getFile(),
'create_time' => date('Y-m-d H:i:s', time())
]);
echo $exception->getMessage(). PHP_EOL;
}
}