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