Skip to content

Commit 9422e53

Browse files
committed
Map http_proxy from config to options
1 parent 4cee5ec commit 9422e53

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
@@ -55,6 +55,7 @@ private function passConfigurationToOptions(ContainerBuilder $container, array $
5555
'enable_compression',
5656
'environment',
5757
'excluded_exceptions',
58+
'http_proxy',
5859
'logger',
5960
'max_breadcrumbs',
6061
'prefixes',

test/DependencyInjection/SentryExtensionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function optionsValueProvider(): array
9494
['error_types', E_ALL & ~E_NOTICE],
9595
['in_app_exclude', ['/some/path'], 'getInAppExcludedPaths'],
9696
['excluded_exceptions', [\Throwable::class]],
97+
['http_proxy', '1.2.3.4'],
9798
['logger', 'sentry-logger'],
9899
['max_breadcrumbs', 15],
99100
['prefixes', ['/some/path/prefix/']],

0 commit comments

Comments
 (0)