bugsnag / bugsnag-ruby

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

Support `Exception#detailed_message` #761

Closed imjoehaines closed 1 year ago

imjoehaines commented 1 year ago

Goal

This was added in Ruby 3.2 for things like 'did_you_mean' that annotate existing exception messages

Currently the annotations are included in Exception#message, but when Ruby 3.2 releases they will move to Exception#detailed_message so we need to use the new method to keep the existing behaviour