通知
This commit is contained in:
parent
631cd00d17
commit
c9944b8b07
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user