This commit is contained in:
parent
ed3dcdd150
commit
c8216b4e2a
@ -91,7 +91,8 @@ class TestController extends AbstractController
|
||||
|
||||
public function testError()
|
||||
{
|
||||
throw new BusinessException("测试Docker日志报错:这是一个测试异常!");
|
||||
// 模拟触发 SQLSTATE[42S22]: Column not found 数据库报错
|
||||
Db::select("SELECT nonexistent_column_test FROM user_ca_cert LIMIT 1");
|
||||
}
|
||||
|
||||
public function test(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user