Skip to content

Commit

Permalink
Merge pull request #18 from OxCom/develop
Browse files Browse the repository at this point in the history
Wrong parameter value in config
  • Loading branch information
OxCom authored Oct 11, 2018
2 parents a23be47 + 48e8f36 commit 6c55d7d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class Configuration implements ConfigurationInterface
* @var array
*/
public static $exclude = [
'\Symfony\Component\Debug\Exception\FatalErrorException',
];

/**
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ More documentation here [here](https://github.com/OxCom/symfony-rollbar-bundle/t
symfony_rollbar:
enable: true
exclude:
- \Symfony\Component\Debug\Exception\FatalErrorException
- \AppBundle\Exceptions\MyAwesomeException
rollbar:
access_token: 'some-secret-token-here'
Expand Down
3 changes: 1 addition & 2 deletions Resources/doc/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Simple configuration of bundle:
symfony_rollbar:
enable: true
exclude:
- \Symfony\Component\Debug\Exception\FatalErrorException
exclude: []
rollbar:
access_token: 'some-secret-token-here'
environment: '%kernel.environment%'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function testParameters()
$defaultErrorMask = E_ERROR | E_WARNING | E_PARSE | E_CORE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR;

$exclude = Configuration::$exclude;
$exclude[] = '\Symfony\Component\Debug\Exception\FatalErrorException';
$exclude[] = '\SymfonyRollbarBundle\Tests\Fixtures\MyAwesomeException';
$exclude[] = '\ParseError';
$exclude[] = '\Symfony\Component\HttpKernel\Exception\HttpExceptionInterface';
Expand Down

0 comments on commit 6c55d7d

Please sign in to comment.