Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugsnag cant track exceptions #21

Open
rasez opened this issue Aug 15, 2018 · 0 comments
Open

Bugsnag cant track exceptions #21

rasez opened this issue Aug 15, 2018 · 0 comments

Comments

@rasez
Copy link

rasez commented Aug 15, 2018

Hi
I install 1.5.0 version and add Bugsnag package to Laravel. it works fine with Laravel exceptions but Bugsnag cant track Heimdal exception. my config of optimus.heimdal.php is here
`use Symfony\Component\HttpKernel\Exception as SymfonyException;
use Optimus\Heimdal\Formatters;

return [
'add_cors_headers' => false,

'formatters' => [
    SymfonyException\UnprocessableEntityHttpException::class => Formatters\UnprocessableEntityHttpExceptionFormatter::class,
    SymfonyException\HttpException::class => Formatters\HttpExceptionFormatter::class,
    Exception::class => Formatters\ExceptionFormatter::class,
],

'response_factory' => \Optimus\Heimdal\ResponseFactory::class,

'reporters' => [
    'bugsnag' => [
        'class'  => \Optimus\Heimdal\Reporters\BugsnagReporter::class,
        'config' => [
            // config.
        ]
    ]
],

'server_error_production' => 'An error occurred.'

];
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant