Skip to content

Commit

Permalink
Allow new excluded_exceptions config
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfedr committed May 24, 2018
1 parent 65bbda9 commit 8e412a6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -13,7 +13,7 @@
],
"require": {
"php": ">=5.3.3",
"sentry/sentry": ">=1.5.0",
"sentry/sentry": "^1.9",
"symfony/config": "^2.7|^3.0",
"symfony/console": "^2.7|^3.0",
"symfony/dependency-injection": "^2.7|^3.0",
Expand Down
3 changes: 3 additions & 0 deletions src/Sentry/SentryBundle/DependencyInjection/Configuration.php
Expand Up @@ -73,6 +73,9 @@ public function getConfigTreeBuilder()
->arrayNode('exclude')
->prototype('scalar')->end()
->end()
->arrayNode('excluded_exceptions')
->prototype('scalar')->end()
->end()
->scalarNode('http_proxy')->defaultNull()->end()
->arrayNode('extra')
->prototype('scalar')->end()
Expand Down
4 changes: 4 additions & 0 deletions test/DependencyInjection/SentryExtensionTest.php
Expand Up @@ -595,6 +595,10 @@ public function test_that_it_sets_all_options()
'test1',
'test2',
),
'excluded_exceptions' => array(
'test3',
'test4',
),
'http_proxy' => 'http_proxy',
'extra' => array(
'extra1' => 'extra1',
Expand Down

0 comments on commit 8e412a6

Please sign in to comment.