diff --git a/src/Logs/Log.php b/src/Logs/Log.php index 8e8010bd..684c195c 100644 --- a/src/Logs/Log.php +++ b/src/Logs/Log.php @@ -111,7 +111,7 @@ protected function fillMatches(array $matches = []): void $this->datetime = $datetime?->setTimezone(LogViewer::timezone()); $this->level = $matches[static::$regexLevelKey] ?? null; - $this->message = trim($matches[static::$regexMessageKey] ?? null); + $this->message = trim($matches[static::$regexMessageKey] ?? ''); $this->context = []; }