We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ffed90 commit 66e7c93Copy full SHA for 66e7c93
src/MonologHandler.php
@@ -59,7 +59,7 @@ protected function addContext(array $context = [])
59
}
60
61
// Add session data.
62
- if ($session = $this->app->session->all()) {
+ if ($this->app->has('session') && $session = $this->app->session->all()) {
63
// Add user session information.
64
if (isset($person['session'])) {
65
$person['session'] = array_merge($session, $person['session']);
0 commit comments