Skip to content

Commit bc9ac6b

Browse files
composer fix
1 parent 8988c22 commit bc9ac6b

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/RollbarLogHandler.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,17 @@ protected function addContext(array $context = [])
9191
{
9292
// Add session data.
9393
if ($session = $this->app->session->all()) {
94-
9594
// Merge person context.
9695
if (isset($context['person']) and is_array($context['person'])) {
97-
9896
$this->logger->configure(['person' => $context['person']]);
9997
unset($context['person']);
100-
10198
}
10299

103100
// Add user session information.
104101
$config = $this->logger->extend([]);
105102
$person = isset($config['person']) ? $config['person'] : [];
106103

107-
$person['session'] = isset($person['session']) ?
104+
$person['session'] = isset($person['session']) ?
108105
array_merge($session, $person['session']) :
109106
$person['session'] = $session;
110107

src/RollbarServiceProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ public function register()
7575
$level = getenv('ROLLBAR_LEVEL') ?: $app['config']->get('services.rollbar.level', 'debug');
7676

7777
return new RollbarLogHandler($app['Rollbar\RollbarLogger'], $app, $level);
78-
7978
});
80-
8179
}
8280
}

0 commit comments

Comments
 (0)