We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我发现框架并没有能捕捉到throwable错误,譬如我在控制器new一个不存在的类,访问接口发现并没有报错。
日志记录了如下信息: [2020-05-11 11:48:47] dobee.ERROR: The "Symfony\Component\Debug\Exception\FatalThrowableError" class is deprecated since Symfony 4.4. { "msg":"The "Symfony\Component\Debug\Exception\FatalThrowableError" class is deprecated since Symfony 4.4.", "code":0, "file":"E:\phpstudy\WWW\localhost\fastd-demo\vendor\symfony\debug\Exception\FatalThrowableError.php", "line":14, "trace":[ "#0 [internal function]: FastD\Application->FastD\{closure}(16384, 'The "Symfony\\Co...', 'E:\\phpstudy\\WWW...', 14, Array)", "#1 E:\phpstudy\WWW\localhost\fastd-demo\vendor\symfony\debug\Exception\FatalThrowableError.php(14): trigger_error('The "Symfony\\Co...', 16384)", "#2 E:\phpstudy\WWW\localhost\fastd-demo\vendor\composer\ClassLoader.php(444): include('E:\\phpstudy\\WWW...')", "#3 E:\phpstudy\WWW\localhost\fastd-demo\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile('E:\\phpstudy\\WWW...')", "#4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\\Compone...')", "#5 E:\phpstudy\WWW\localhost\fastd-demo\vendor\fastd\fastd\src\Application.php(177): spl_autoload_call('Symfony\\Compone...')", "#6 E:\phpstudy\WWW\localhost\fastd-demo\vendor\fastd\fastd\src\Application.php(258): FastD\Application->handleRequest(Object(FastD\Http\ServerRequest))", "#7 E:\phpstudy\WWW\localhost\fastd-demo\web\index.php(16): FastD\Application->run()", "#8 {main}" ] } []
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我发现框架并没有能捕捉到throwable错误,譬如我在控制器new一个不存在的类,访问接口发现并没有报错。
日志记录了如下信息:
[2020-05-11 11:48:47]
dobee.ERROR:
The "Symfony\Component\Debug\Exception\FatalThrowableError" class is deprecated since Symfony 4.4.
{
"msg":"The "Symfony\Component\Debug\Exception\FatalThrowableError" class is deprecated since Symfony 4.4.",
"code":0,
"file":"E:\phpstudy\WWW\localhost\fastd-demo\vendor\symfony\debug\Exception\FatalThrowableError.php",
"line":14,
"trace":[
"#0 [internal function]: FastD\Application->FastD\{closure}(16384, 'The "Symfony\\Co...', 'E:\\phpstudy\\WWW...', 14, Array)",
"#1 E:\phpstudy\WWW\localhost\fastd-demo\vendor\symfony\debug\Exception\FatalThrowableError.php(14): trigger_error('The "Symfony\\Co...', 16384)",
"#2 E:\phpstudy\WWW\localhost\fastd-demo\vendor\composer\ClassLoader.php(444): include('E:\\phpstudy\\WWW...')",
"#3 E:\phpstudy\WWW\localhost\fastd-demo\vendor\composer\ClassLoader.php(322): Composer\Autoload\includeFile('E:\\phpstudy\\WWW...')",
"#4 [internal function]: Composer\Autoload\ClassLoader->loadClass('Symfony\\Compone...')",
"#5 E:\phpstudy\WWW\localhost\fastd-demo\vendor\fastd\fastd\src\Application.php(177): spl_autoload_call('Symfony\\Compone...')",
"#6 E:\phpstudy\WWW\localhost\fastd-demo\vendor\fastd\fastd\src\Application.php(258): FastD\Application->handleRequest(Object(FastD\Http\ServerRequest))",
"#7 E:\phpstudy\WWW\localhost\fastd-demo\web\index.php(16): FastD\Application->run()",
"#8 {main}"
]
}
[]
The text was updated successfully, but these errors were encountered: