Skip to content

Commit a66eafc

Browse files
committed
Map max_value_length configuration to options
1 parent 3f254df commit a66eafc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/DependencyInjection/SentryExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ private function passConfigurationToOptions(ContainerBuilder $container, array $
6060
'http_proxy',
6161
'logger',
6262
'max_breadcrumbs',
63+
'max_value_length',
6364
'prefixes',
6465
'project_root',
6566
'release',

test/DependencyInjection/SentryExtensionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function optionsValueProvider(): array
102102
['http_proxy', '1.2.3.4'],
103103
['logger', 'sentry-logger'],
104104
['max_breadcrumbs', 15],
105+
['max_value_length', 1000],
105106
['prefixes', ['/some/path/prefix/']],
106107
['project_root', '/some/project/'],
107108
['release', 'abc0123'],

0 commit comments

Comments
 (0)