Skip to content

Commit

Permalink
Release 1.23 - log2file bug - error 500
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardnico committed Jan 17, 2022
1 parent 4e9ad3c commit 2fea41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ComboStrap/LogUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private static function throwErrorIfTest($level, $message)
private static function messageNotEmpty(?string $message)
{
$message = trim($message);
if ($message === "" || $message === null) {
if ($message === null || $message === "") {
$newMessage = "The passed message to the log was empty or null. BackTrace: \n";
ob_start();
$limit = 10;
Expand Down

0 comments on commit 2fea41f

Please sign in to comment.