Skip to content

Commit 4589d06

Browse files
committed
改进console输出
1 parent d21587c commit 4589d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function output(App $app, Response $response, array $log = [])
100100
//输出到控制台
101101
$lines = '';
102102
foreach ($trace as $type => $msg) {
103-
$lines .= $this->console($type, $msg);
103+
$lines .= $this->console($type, empty($msg) ? [] : $msg);
104104
}
105105
$js = <<<JS
106106

0 commit comments

Comments
 (0)