变更
This commit is contained in:
+1
-1
@@ -1161,7 +1161,7 @@ if (!function_exists('throwable')) {
|
|||||||
*/
|
*/
|
||||||
function throwable(\Throwable|\Error $throwable): string
|
function throwable(\Throwable|\Error $throwable): string
|
||||||
{
|
{
|
||||||
$message = $throwable->getMessage() . ' ' . $throwable->getFile() . " at line " . $throwable->getLine() . PHP_EOL;
|
$message = $throwable->getMessage() . PHP_EOL . $throwable->getFile() . " at line " . $throwable->getLine() . PHP_EOL;
|
||||||
foreach ($throwable->getTrace() as $value) {
|
foreach ($throwable->getTrace() as $value) {
|
||||||
if (!isset($value['file'])) {
|
if (!isset($value['file'])) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user