mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-09 16:12:49 +08:00
error类的halt方法改进
This commit is contained in:
@@ -127,7 +127,7 @@ class Error
|
|||||||
// 异常信息输出监听
|
// 异常信息输出监听
|
||||||
APP_HOOK && Hook::listen('error_output', $e);
|
APP_HOOK && Hook::listen('error_output', $e);
|
||||||
// 输出异常内容
|
// 输出异常内容
|
||||||
Response::send($e, $type);
|
Response::send($e, $type, Config::get('response_return'));
|
||||||
}
|
}
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user