We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3de7e8 commit b95ee16Copy full SHA for b95ee16
1 file changed
src/Runner.php
@@ -3,8 +3,8 @@
3
namespace think\Whoops;
4
5
use think\App;
6
-use think\facade\Request;
7
use think\facade\Env;
+use think\facade\Request;
8
use Whoops\Handler\PrettyPageHandler;
9
use Whoops\Run;
10
@@ -45,15 +45,15 @@ public function handleException($exception)
45
'Port' => Request::port(),
46
'Host' => Request::host(),
47
]);
48
-
+
49
// 环境变量
50
$handler->addDataTable('Environment', Env::get());
51
52
// 从异常堆栈跟踪中打开代码编辑器
53
if ($this->options['editor']) {
54
$handler->setEditor($this->options['editor']);
55
}
56
57
// 设置标题
58
$handler->setPageTitle($this->options['title']);
59
0 commit comments