diff --git a/function.php b/function.php index b22a214b..5c18de59 100644 --- a/function.php +++ b/function.php @@ -1161,7 +1161,7 @@ if (!function_exists('throwable')) { */ 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) { if (!isset($value['file'])) { continue;