tp6自定义异常类问题

浏览:986 发布日期:2021/03/01 分类:ThinkPHP6专区 关键字: 异常类
我自己手写了一个异常类去接管异常,但经常会记录上tp框架的报错,请问这个如何取消记录。可看图所示。
[2021-03-01T00:32:30+08:00][error] Array
(
[apiHash] => config/getuser
[method] => GET
[params] => Array
(
[index] => 0
)

[errorFile] => /www/wwwroot/test/vendor/topthink/framework/src/think/route/dispatch/Controller.php
[errorLine] => 76
[errorInfo] => controller not exists:app\controller\Config
)

[2021-03-01T00:59:44+08:00][error] Array
(
[apiHash] => solr/admin/info/system
[method] => GET
[params] => Array
(
[wt] => json
[info] => system
)

[errorFile] => /www/wwwroot/test/vendor/topthink/framework/src/think/route/dispatch/Controller.php
[errorLine] => 76
[errorInfo] => controller not exists:app\controller\Solr
)
最佳答案
评论( 相关
后面还有条评论,点击查看>>