Skip to content

Commit bafb328

Browse files
committed
Allow new excluded_exceptions config
1 parent 65bbda9 commit bafb328

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/Sentry/SentryBundle/DependencyInjection/Configuration.php

Lines changed: 3 additions & 0 deletions
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()

test/DependencyInjection/SentryExtensionTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,10 @@ public function test_that_it_sets_all_options()
595595
'test1',
596596
'test2',
597597
),
598+
'excluded_exceptions' => array(
599+
'test3',
600+
'test4',
601+
),
598602
'http_proxy' => 'http_proxy',
599603
'extra' => array(
600604
'extra1' => 'extra1',

0 commit comments

Comments
 (0)