Skip to content

Commit 86d1fd6

Browse files
committed
message should default to empty string; fixes #400
1 parent c20cc0a commit 86d1fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Logs/Log.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ protected function fillMatches(array $matches = []): void
111111
$this->datetime = $datetime?->setTimezone(LogViewer::timezone());
112112

113113
$this->level = $matches[static::$regexLevelKey] ?? null;
114-
$this->message = trim($matches[static::$regexMessageKey] ?? null);
114+
$this->message = trim($matches[static::$regexMessageKey] ?? '');
115115
$this->context = [];
116116
}
117117

0 commit comments

Comments
 (0)