This commit is contained in:
xman 2025-06-06 15:57:18 +08:00
parent 696919950d
commit 631cd00d17

View File

@ -57,6 +57,11 @@ class CheckOrderDispatchGotCommand extends Command
});
}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())
]);
}
}
@ -76,7 +81,7 @@ class CheckOrderDispatchGotCommand extends Command
}catch (Exception $exception){
Db::name('debug_log')->insert([
'title' => $this->title,
'content' => '错误内容:'.$exception->getMessage().',错误行:'. $exception->getLine().',错误文件:'. $exception->getFile(),
'content' => '超时,错误内容:'.$exception->getMessage().',错误行:'. $exception->getLine().',错误文件:'. $exception->getFile(),
'create_time' => date('Y-m-d H:i:s', time())
]);
echo $exception->getMessage(). PHP_EOL;