Skip to content
New issue

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

部分异常、错误未捕获,导致页面出现无法响应 #45

Open
ghost opened this issue Apr 18, 2017 · 1 comment
Open

部分异常、错误未捕获,导致页面出现无法响应 #45

ghost opened this issue Apr 18, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 18, 2017

laravoole v0.5.1,Laravel 5.1,Swoole 1.9.8,openresty 1.11.2.2

Laravoole\Base->handleRequest() 不严密。

约 157 行 finally $this->events->fire('laravoole.requested', [$illuminate_request, $illuminate_response]); 附近 以及 return $illuminate_response,如果遇到一些错误,不会存在 $illuminate_response变量。

问题复现:
storage/framework/views 设置无写入权限,并清空模板缓存。
访问需要view模板的页面,即产生无权限的日志,但是出现了意外情况没有捕获。页面无响应。

@niuniudada
Copy link

怎么解决呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant