Skip to content

Commit ec87180

Browse files
committed
Map the max_request_body_size option in the bundle extension
1 parent b0639a1 commit ec87180

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
@@ -67,6 +67,7 @@ private function passConfigurationToOptions(ContainerBuilder $container, array $
6767
'excluded_exceptions',
6868
'http_proxy',
6969
'logger',
70+
'max_request_body_size',
7071
'max_breadcrumbs',
7172
'max_value_length',
7273
'prefixes',

test/DependencyInjection/SentryExtensionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public function optionsValueProvider(): array
122122
['excluded_exceptions', [\Throwable::class]],
123123
['http_proxy', '1.2.3.4'],
124124
['logger', 'sentry-logger'],
125+
['max_request_body_size', 'always'],
125126
['max_breadcrumbs', 15],
126127
['max_value_length', 1000],
127128
['prefixes', ['/some/path/prefix/']],

0 commit comments

Comments
 (0)