rollbar / rollbar-php-symfony-bundle

Bundle for Symfony that integrates Rollbar tracker
MIT License
28 stars 25 forks source link

Fixed #51 To make catch statement broader #80

Closed danielmorell closed 2 years ago

danielmorell commented 2 years ago

Description of the change

By catching only instances or instances of subclasses of Exception. We will not catch any Error instances that may be thrown. As a general rule, if the desire is to catch Exceptions it is best to catch Throwable. This PR simply updates Exception to Throwable. For more details on the specific issue see #51.

Type of change

Related issues

Checklists

Development

Code review