Skip to content

Commit

Permalink
Update LoggingTrait to check fo is_null instead of falsey
Browse files Browse the repository at this point in the history
  • Loading branch information
Hectorhammett committed Nov 19, 2024
1 parent 1f41879 commit b0dc724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Logging/LoggingTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private function logResponse(LogEvent $event): void
$this->logger->debug($stringifiedEvent);
}

if ($event->status) {
if (!is_null($event->status)) {
$infoEvent = [
'timestamp' => $event->timestamp,
'severity' => LogLevel::INFO,
Expand Down

0 comments on commit b0dc724

Please sign in to comment.