Skip to content

Commit

Permalink
Merge pull request #930 from ctfang/3.x
Browse files Browse the repository at this point in the history
fix:May be written to an empty log
  • Loading branch information
taylorotwell authored Aug 18, 2020
2 parents e3ba668 + ae92980 commit c12bd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Watchers/LogWatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function recordLog(MessageLogged $event)
Telescope::recordLog(
IncomingEntry::make([
'level' => $event->level,
'message' => $event->message,
'message' => (string) $event->message,
'context' => Arr::except($event->context, ['telescope']),
])->tags($this->tags($event))
);
Expand Down

0 comments on commit c12bd5e

Please sign in to comment.