Bugsnag adds support for seeing what happens before an exception is thrown
Published on by Eric L. Barnes
Bugsnag has just announced that they’ve added more diagnostic information when using the service with Laravel.
With this feature, you now see a Breadcrumbs tab in your error report that shows any log statements and database queries that ran prior to an exception being sent to Bugsnag. This timeline will help you trace what was happening in your application leading up to an exception.
This feature also includes the time it takes a database query to execute which will help you diagnose time out errors. For more information on integrating with Bugsnag through Laravel or Lumen check out their official package on GitHub.
Eric is the creator of Laravel News and has been covering Laravel since 2012.