Skip to content

Fatal errors are not triggered  #11

Description

@joachimVT

HI

I tested this package and exceptions are added correctly to Bugsnag which is good. But fatal php errors are not triggered.

For example when I add a variable without $a ; in simple template.blade.php file. This error (ParseError: syntax error) is not catched.

When I add this to my bootstrap.php file:

use Bugsnag\Client;

$bugsnag = Bugsnag\Client::make('API KEY HERE');
Bugsnag\Handler::register($bugsnag);

the error is correctly added to Bugsnag. So I think something is missing, you only catch the beforeCatchException which is not enough.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions