|
@@ -67,7 +67,7 @@ discard block |
|
|
block discarded – undo |
|
67
|
67
|
|
|
68
|
68
|
$client = new Raven_Client($dsn); |
|
69
|
69
|
$client->setRelease($config->getSystemValue('version', '0.0.0')); |
|
70
|
|
- $container->registerService(Raven_Client::class, function () use ($client) { |
|
|
70
|
+ $container->registerService(Raven_Client::class, function() use ($client) { |
|
71
|
71
|
return $client; |
|
72
|
72
|
}); |
|
73
|
73
|
|
|
@@ -106,7 +106,7 @@ discard block |
|
|
block discarded – undo |
|
106
|
106
|
/** @var IInitialStateService $stateService */ |
|
107
|
107
|
$stateService = $container->query(IInitialStateService::class); |
|
108
|
108
|
|
|
109
|
|
- $stateService->provideLazyInitialState('sentry', 'dsn', function () use ($dsn) { |
|
|
109
|
+ $stateService->provideLazyInitialState('sentry', 'dsn', function() use ($dsn) { |
|
110
|
110
|
return [ |
|
111
|
111
|
'dsn' => $dsn === '' ? null : $dsn, |
|
112
|
112
|
]; |
Please login to merge, or discard this patch.