企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 错误级别配置不生效 >[danger] 这是一个 bug,按以下流程修复 找到 mix-framework 库中的 `src/base/Error.php` 文件的 `appError` 方法: ~~~ // 错误处理 public static function appError($errno, $errstr, $errfile = '', $errline = 0) { throw new \mix\exceptions\ErrorException($errno, $errstr, $errfile, $errline); } ~~~ 修改为: ~~~ // 错误处理 public static function appError($errno, $errstr, $errfile = '', $errline = 0) { if (error_reporting() & $errno) { throw new \mix\exceptions\ErrorException($errno, $errstr, $errfile, $errline); } } ~~~