Skip to content

Commit bb20610

Browse files
mcfedrJean85
authored andcommitted
Allow new excluded_exceptions config (#124)
1 parent af3a623 commit bb20610

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"require": {
1515
"php": ">=5.3.3",
16-
"sentry/sentry": ">=1.5.0",
16+
"sentry/sentry": "^1.9",
1717
"symfony/config": "^2.7|^3.0",
1818
"symfony/console": "^2.7|^3.0",
1919
"symfony/dependency-injection": "^2.7|^3.0",

Diff for: src/Sentry/SentryBundle/DependencyInjection/Configuration.php

+3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ public function getConfigTreeBuilder()
7373
->arrayNode('exclude')
7474
->prototype('scalar')->end()
7575
->end()
76+
->arrayNode('excluded_exceptions')
77+
->prototype('scalar')->end()
78+
->end()
7679
->scalarNode('http_proxy')->defaultNull()->end()
7780
->arrayNode('extra')
7881
->prototype('scalar')->end()

Diff for: test/DependencyInjection/SentryExtensionTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,10 @@ public function test_that_it_sets_all_options()
596596
'test1',
597597
'test2',
598598
),
599+
'excluded_exceptions' => array(
600+
'test3',
601+
'test4',
602+
),
599603
'http_proxy' => 'http_proxy',
600604
'extra' => array(
601605
'extra1' => 'extra1',

0 commit comments

Comments
 (0)