bugsnag / bugsnag-ruby

BugSnag error monitoring & reporting software for rails, sinatra, rack and ruby
https://docs.bugsnag.com/platforms/ruby
MIT License
248 stars 173 forks source link

Add `errors` to Report/Event #691

Closed imjoehaines closed 3 years ago

imjoehaines commented 3 years ago

Goal

This PR adds an errors attribute to the Report/Event class, containing an array of Bugsnag::Error objects. The Error object is a Struct with error_class, error_message and type attributes

This will replace the current Report#exceptions in the next major version, after the addition of a Error#stacktrace method (currently exceptions contains the stacktrace)